commit | 1137b137ddbd1cbe139aad39f521fce8d84912eb | [log] [tgz] |
---|---|---|
author | Ming-Shin Lu <lumark@google.com> | Thu Mar 24 20:24:22 2022 +0800 |
committer | Ming-Shin Lu <lumark@google.com> | Fri Mar 25 00:35:45 2022 +0800 |
tree | fccfe0a2ee56da5b2d6abefe0a2edceb680759db | |
parent | 44b2ae6375f4015de46318a5001572ef2ca67e65 [diff] |
Fix IME snapshot missing to remove by 2 consecutive creation calls There is a timing could happen to create another new IME snapshot before recents animation finish, so system lost the previous one's reference and never remove it. Ensure removing the obsoleted IME snapshot before we create a new one. Fix: 224664116 Test: atest DisplayContentTests#\ testShowImeScreenshot_removeCurSnapshotBeforeCreateNext Change-Id: I3927557453317e9beaab0d5995d6d415d09bb05d