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

Commit 7150df0d authored by Johannes Gallmann's avatar Johannes Gallmann Committed by Android (Google) Code Review
Browse files

Merge "Do not intercept Back Key Event with FLAG_PRE_IME_ONLY in NativePreIme stage" into main

parents 5dc987e3 c478dd15
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7451,6 +7451,10 @@ public final class ViewRootImpl implements ViewParent,
        @Override
        protected int onProcess(QueuedInputEvent q) {
            if (q.forPreImeOnly()) {
                // this event is intended for the ViewPreImeInputStage only, let's forward
                return FORWARD;
            }
            if (q.mEvent instanceof KeyEvent) {
                final KeyEvent keyEvent = (KeyEvent) q.mEvent;