d013bcea9713d178627cc1d3e8a0f291ccbcd293 |
|
21-Jun-2017 |
Felipe Leme <felipeal@google.com> |
Don't add FillEventHistory events to the wrong session. The AutofillSession.getFillEventHistory() method returns only the event history for the last onFillRequest(). In the scenario where the user switches activities and the server has multiple sessions open, only the events for the last session should be recorded. Test: existing CtsAutoFillServiceTestCases pass Test: LoginActivityTest.checkFillSelectionFromPreviousSessionIsDiscarded Fixes: 62802026 Change-Id: I447ed77c2167095867b35d616b5cf2ae43aa28db
/frameworks/base/core/java/android/service/autofill/FillEventHistory.java
|
2e30c6f371be6211f1fa2b2257084df24a535795 |
|
20-Jun-2017 |
Felipe Leme <felipeal@google.com> |
Fixed how FillEventHistory is reset and clarified javadoc. Test: existing CtsAutoFillServiceTestCases pass Test: checkFillSelectionIsResetAfterReturningNull() Test: checkFillSelectionIsResetAfterReturningError() Test: checkFillSelectionIsResetAfterTimeout() Bug: 62802026 Change-Id: I389d95fc13c08f1056960e5f67e131c8dc306401
/frameworks/base/core/java/android/service/autofill/FillEventHistory.java
|
cc684ed41f17ccdce45a056fd4034efc35b213d5 |
|
17-Apr-2017 |
Philip P. Moltmann <moltmann@google.com> |
Add a way to read the last AutofillSelection. - Check UID to make sure one service cannot read FillSelections of other services - Add id to Dataset to allow to tag the datasets. This id is then found in the FillSelection.Event - Add clientState to FillSelection to allow service to store more data Fixes: 36871500 Test: CtsAutoFillServiceTestCases Change-Id: Ice894245508227265294a1c59ea97842175e5aec
/frameworks/base/core/java/android/service/autofill/FillEventHistory.java
|