Skip to content
Commit 1c13ad3d authored by chaviw's avatar chaviw
Browse files

Don't keep current IME target if it's being removed.

There's logic in place to continue using the old IME target if it's in
the process of animating tot exit and the next IME target is going to the
launcher. This is to prevent the IME from flickering by jumping to the
launcher in the middle of closing.

However, the IME target also gets recalculated when the old IME target
window is removed. If the new target ends up being the launcher, then
the old logic would prevent the IME target from getting updated since it
still considers the window being removed as animating to exit. This
change adds another check to make sure that we don't consider removed
windows when deciding if the IME target should stay the same.

Change-Id: I3722c2ff22865f408a5dc5872a36002a5991ff1c
Fixes: 109875368
Test: Repro steps from bug
parent 79e27cd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment