summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2017-12-04 11:22:25 -0800
committerFelipe Leme <felipeal@google.com>2017-12-06 11:20:10 -0800
commitbb6bfea6801cff5b50c990bdcfbd2df93ddf9023 (patch)
tree7ac959bd6d2a4d336a6348f56a17694586fa4788 /tools/aapt2/java/JavaClassGenerator.cpp
parenta044c1d27e9380d649b6b9dadfb582136be5fa79 (diff)
Refactored the FieldsClassification score mechanism.
Before, FillEvent.getFieldsClassification() returned a map of remote ids and scores. Now, it returns a Map of FieldClassication by AutofillId, which allows multiple fields and scores for multiple user datas (although the initial implementation supports only the top match for a field). This is mostly a refactoring CL, as the implementation is still saving just one user data entry and one field. But full support is coming next... Test: atest CtsAutoFillServiceTestCases:FieldsClassificationTest Test: atest CtsAutoFillServiceTestCases:UserDataTest Test: atest CtsAutoFillServiceTestCases:FieldsClassificationScorerTest Bug: 68045531 Change-Id: I08b29f24efbd527216f9bce2343e1bcd4b4554c0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions