452886a5b8d7cb94ba0c53e8976ff558980db1e5 |
|
27-Nov-2017 |
Felipe Leme <felipeal@google.com> |
Refactored field detection mechanism to support multiple fields. Now instead of using FillResponse.setFieldDetection() with an object that contains both the autofill ids an the user data, service must: - Set global mapping through AutofillService.setUserData() - Pass just the autofill ids to FillResponse.setFieldClassificationIds() This CL is purely a refactoring CL - although the new API supports multiple values and multiple fields, the implementation is still hardcode for one value and one field (as before). Test: atest CtsAutoFillServiceTestCases:FieldsClassificationTest Test: atest CtsAutoFillServiceTestCases:UserDataTest Test: atest CtsAutoFillServiceTestCases:FillResponseTest Bug: 68045531 Change-Id: I8d846d817dfcde3a4db7abff798bb2250e1c4e7b
/frameworks/base/core/java/android/service/autofill/UserData.aidl
|