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

Commit 669340c7 authored by Phil Weaver's avatar Phil Weaver Committed by Android (Google) Code Review
Browse files

Merge "Add null check in key event handling."

parents ccd3de69 771f9aef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2306,7 +2306,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {

        @Override
        public boolean onKeyEvent(KeyEvent keyEvent, int sequenceNumber) {
            if (!mRequestFilterKeyEvents) {
            if (!mRequestFilterKeyEvents || (mServiceInterface == null)) {
                return false;
            }
            if((mAccessibilityServiceInfo.getCapabilities()