diff options
author | Felipe Leme <felipeal@google.com> | 2018-02-20 13:04:31 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2018-02-22 12:47:24 -0800 |
commit | 42b9793d0ff3dbcdcb3b76cec6cdd370a63ce5c8 (patch) | |
tree | 8e1f59de2ef190c48fafc0fd09b8cfefcd8c8d6a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ff43d08eb0cb899b3bcb3126f59d36e2fd06f20c (diff) |
New APIs to let app developers manage autofill semantics when reusing views.
From the Autofill workflow point of view, each view has an unique AutofillId
that is used to semantically, semantically identify the view. Currently, once
the View's AutofillId is set it cannot be changed, which make it hard to reuse
views for optimization (for example, in a RecyclerView).
This change introduces 2 new APIs (View.setAutofillId() and
Activity.getNextAutofillId()) that let app developers reuse views without
breaking their logical autofill semantics.
Fixes: 73555342
Test: atest CtsAutoFillServiceTestCases:MutableAutofillIdTest
Test: atest CtsAutoFillServiceTestCases
Change-Id: I35fe07b10657f17d7b260f90f578ca7a13782a18
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions