Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b561f0ac authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Clear IME back callbacks when IME is killed

Bug: 323710194
Flag: NONE
Test: Manual, i.e. killing IME with "adb shell am force-stop" and verifying correct back navigation behaviour after IME crash
Change-Id: I8fd284ec5bcd0a9469516f730a513f277fa5b604
parent 69a62d57
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1153,6 +1153,9 @@ public final class InputMethodManager {
                    }
                    final boolean startInput;
                    synchronized (mH) {
                        if (reason == UnbindReason.DISCONNECT_IME) {
                            mImeDispatcher.clear();
                        }
                        if (getBindSequenceLocked() != sequence) {
                            return;
                        }