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

Commit 5de9cfde authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Avoid MotionEvent no finish raise unnecessary ANR

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459888

Bug: 160561987
Test: atest CtsInputTestCases
Note: the test above is being added in ag/12885227

Change-Id: I9d65c7889650df64f1cf122cfa9f6ba38dc4acbb
(cherry picked from commit 6b297e94)
parent 06c050ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ status_t NativeInputEventReceiver::consumeEvents(JNIEnv* env,
                                    jboolean(focusEvent->getHasFocus()),
                                    jboolean(focusEvent->getInTouchMode()));
                finishInputEvent(seq, true /* handled */);
                return OK;
                continue;
            }

            default: