summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2021-04-02 18:36:24 -0700
committerAhaan Ugale <augale@google.com>2021-04-02 23:19:55 -0700
commitd3ef7757378ccf92cee364bc862920af34f7f438 (patch)
tree53e8d721ee280435a94cb64b0f17e1323915c2d2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentde94a02e3188ff261ab38fc51b02d1fe03943f5f (diff)
Fix UiTranslation for ListView.
There are 2 changes: * When a view is scrapped, Autofill IDs in its subtree are reset. This prevents flaky behavior like translating the wrong views when events are ordered a certain way. * Views that are being translated are marked as having transient state since the system needs to attach the response to it later as well as deliver UI Translation state changes to it. Bug: 182491706 Test: atest CtsTranslationTestCases Test: atest CtsContentCaptureServiceTestCases Test: atest CtsAutoFillServiceTestCases Test: manual - check in logs that autofill ids aren't reused on scrolling or new views appearing Test: manual - translated views stay translated while on the screen when other views are scrolled off the screen Test: manual - translated views stay translated when new views appear Change-Id: I20a52415e3fd191768442d70614d536e11633dfa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions