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
Loading
Please register or sign in to comment