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

Commit 2499bbec authored by Jeff Brown's avatar Jeff Brown
Browse files

Fix bug in IME handling of pending key events.

Bug: 6812529
Change-Id: I7195a4346d44d65a79969a1bb5daa3bb8a018600
parent f1633679
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1648,9 +1648,10 @@ public final class InputMethodManager {
        if (p.mSeq == seq) {
            mFirstPendingEvent = p.mNext;
        } else {
            PendingEvent prev = p;
            PendingEvent prev;
            do {
                p = prev.mNext;
                prev = p;
                p = p.mNext;
                if (p == null) {
                    return null;
                }