diff options
| author | Pablo Gamito <pablogamito@google.com> | 2021-12-03 01:22:42 +0100 |
|---|---|---|
| committer | Pablo Gamito <pablogamito@google.com> | 2021-12-03 13:51:36 +0100 |
| commit | cd355907712d0e0aa5e392d9b55834b9a27486a9 (patch) | |
| tree | 4cbfdf14bcd42f5ea46241bd6b9f14b5d7e0274a /core/java/android/inputmethodservice/InputMethodService.java | |
| 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
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
