63c601a06b02a8334ff1c24a7d107195dd26e4be |
|
28-Sep-2017 |
Felipe Leme <felipeal@google.com> |
New Autofill API: CustomDescription.batchUpdates() This API allows the service to apply updates in the save UI remote view, when a given condition applies. Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.CustomDescriptionTest Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.CustomDescriptionUnitTest Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.BatchUpdatesTest Fixes: 63933969 Change-Id: I5002f231cd2029463b81a68fb3acd9bf1ae5964a
/frameworks/base/core/java/android/service/autofill/InternalTransformation.java
|
22101ca5a91e36f56b4d7cab2bb8517f679c6c86 |
|
18-Jul-2017 |
Felipe Leme <felipeal@google.com> |
Don't show a custom description if any transformation fail. That could result in an inconsistent, confusing UI. For example, if the successfully description for a credit card was "Exp. date: 04/20", one with a failure could be "Exp. date: /20" - it's better to not show a custom description in these cases. Test: CtsAutoFillServiceTestCases pass Test: CustomDescriptionTest.failFirstFailAll Test: CustomDescriptionTest.failSecondFailAll Bug: 62534917 Change-Id: I6554e3470ead2f84d7ef8715192d863c01ab1190
/frameworks/base/core/java/android/service/autofill/InternalTransformation.java
|
3858aa67365ad574ee474edc68e2e82d4d8c6081 |
|
12-Jul-2017 |
Philip P. Moltmann <moltmann@google.com> |
Make CustomDescription safe against crashes ... And allow users of the public APIs use Transformations. Test: bit CtsAutoFillServiceTestCases:.CustomDescriptionTest Bug: 62534917 Change-Id: I6b7b7d5e343e78f2f0381303451e08bb16c5c3e6
/frameworks/base/core/java/android/service/autofill/InternalTransformation.java
|
979013d027d828f404e71f48b88403e562ccbc7b |
|
22-Jun-2017 |
Felipe Leme <felipeal@google.com> |
Initial implementation of the new Save APIs. Test: manual verification with sample app (CTS tests coming later) Bug: 62534917 Change-Id: I085a9c933bb5e8316d673976e059e13abd7098e5
/frameworks/base/core/java/android/service/autofill/InternalTransformation.java
|