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

Commit c643ca97 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Fix bug in IME handling of pending key events."

parents d442aaeb 2499bbec
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;
                }