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

Commit 320cc6ff authored by Cam Bickel's avatar Cam Bickel Committed by Camden Bickel
Browse files

Cleanup flag "do_not_reset_key_event_state"

Bug: b/331900630
Test: presubmit
Flag: EXEMPT flag cleanup
Change-Id: I97b3f3509af84c0e8360e10e254bbd6c639aa489
parent ae8c0df5
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -409,10 +409,6 @@ class AccessibilityInputFilter extends InputFilter implements EventStreamTransfo
        final int eventSource = event.getSource();
        final int eventSource = event.getSource();
        final int displayId = event.getDisplayId();
        final int displayId = event.getDisplayId();
        if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) {
        if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) {
            if (!Flags.doNotResetKeyEventState()) {
                state.reset();
                clearEventStreamHandler(displayId, eventSource);
            }
            if (DEBUG) {
            if (DEBUG) {
                Slog.d(TAG, "Not processing event " + event);
                Slog.d(TAG, "Not processing event " + event);
            }
            }