commit | cd355907712d0e0aa5e392d9b55834b9a27486a9 | [log] [tgz] |
---|---|---|
author | Pablo Gamito <pablogamito@google.com> | Fri Dec 03 01:22:42 2021 +0100 |
committer | Pablo Gamito <pablogamito@google.com> | Fri Dec 03 13:51:36 2021 +0100 |
tree | 4cbfdf14bcd42f5ea46241bd6b9f14b5d7e0274a | |
parent | 41bab72cc28e2d95485f437a07d527ad4608a7f8 [diff] |
Fix flaky assertion Sometimes, when quick switching between apps, the previous app is restarted (e.g., it was stopped by the OS to release memory). Because of this, the app launch creates a SnapshotStartingWindow before the secondary app is visible again. So we now check if this is visible if the Window itself isn't yet. Test: atest FlickerTests SwitchImeWindowsFromGestureNavTest#imeAppWindowVisibility Bug: 208628307 Change-Id: I1cc48da5f1dd9ad78b8565a0028272dd3b985a39