commit | ad5e12a21053555ba3ed5c99baca5f98b635a3e8 | [log] [tgz] |
---|---|---|
author | Jacky Kao <jackykao@google.com> | Wed Mar 04 14:59:14 2020 +0800 |
committer | Jacky Kao <jackykao@google.com> | Wed Mar 04 14:59:14 2020 +0800 |
tree | fcc8b9ebca7038e769e8d148ffbabd11fbe4c8a2 | |
parent | f5dac30b105ca9959784dcb1ad503bd22d298805 [diff] |
Fix flaky issue When getting the accessibility window after changing the focused window of the activity from default display to virtual display, to make sure getting the latest one, needing to wait receiving the event, WINDOWS_CHANGE_FOCUSED or WINDOWS_CHANGE_ACTIVE. Bug: 144845224 Test: atest --iterations 20 AccessibilityWindowReportingTest# moveFocusToAnotherDisplay_movesActiveAndFocusWindow Change-Id: Ic8271a1e0e4cdb76efd237bdc8b33328fd9be5e0