summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2017-11-27 13:09:13 -0800
committerFelipe Leme <felipeal@google.com>2017-12-04 09:56:06 -0800
commit452886a5b8d7cb94ba0c53e8976ff558980db1e5 (patch)
treec85eed568d5a0b5d1a2446240972ea4c7be9bcf1 /tools/aapt2/java/JavaClassGenerator.cpp
parentd8dd05e7d610572d0850dd9edc538bf930aa7d51 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions