OSDN Git Service

Autofill a manual request directly when it only has one dataset.
authorFelipe Leme <felipeal@google.com>
Tue, 21 Mar 2017 16:58:40 +0000 (09:58 -0700)
committerFelipe Leme <felipeal@google.com>
Tue, 21 Mar 2017 17:37:12 +0000 (10:37 -0700)
commitf7a7bb6b50cda0d292e55e900f70166e9a1fd6ed
tree7d5ef24ee6e036d429bb805619d4b4a8e54f3bb5
parent60b4af5d658a1debaa6af13a2bf1815537300c51
Autofill a manual request directly when it only has one dataset.

Tests:
- renamed testManualAutofill() to testManualAutofillOneDataset()
- added testManualAutofillTwoDatasetsPickFirst()
- added testManualAutofillTwoDatasetsPickSecond()

Bug: 35708229
Test: LoginActivityTest pass
Test: manual verification
Change-Id: I7aa60ab5df60decaf49d617bf3e9fcf3ab0074fa
services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java