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

Commit 771f9aef authored by Phil Weaver's avatar Phil Weaver
Browse files

Add null check in key event handling.

Bug: 30866905
Change-Id: I4bc4c984026d7d2be594b816e3d6de60410970ef
parent ff469131
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2281,7 +2281,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()