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
Loading
Please register or sign in to comment