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

Commit 2aab159e authored by Phil Weaver's avatar Phil Weaver Committed by android-build-merger
Browse files

Add null check to KeyEventDispatcher.

am: 2a0e48aa

Change-Id: Ibd3ec1f898e9e375a3e7a3decb651d4187cdb4a3
parents 225bedbc 2a0e48aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ public class KeyEventDispatcher {
            Service service = boundServices.get(i);
            // Key events are handled only by services that declared
            // this capability and requested to filter key events.
            if (!service.mRequestFilterKeyEvents) {
            if (!service.mRequestFilterKeyEvents || (service.mServiceInterface == null)) {
                continue;
            }
            int filterKeyEventBit = service.mAccessibilityServiceInfo.getCapabilities()