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

Commit 5308577d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix NullPointerException in...

Merge "Fix NullPointerException in AccessibilityServiceConnection#dispatchGesture" into sc-dev am: e463a7d4

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I13b3d63b862594a01d4be8dd1cefa4d30d5c3479
parents 2908dfdf e463a7d4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -376,7 +376,8 @@ class AccessibilityServiceConnection extends AbstractAccessibilityServiceConnect
            if (mSecurityPolicy.canPerformGestures(this)) {
                MotionEventInjector motionEventInjector =
                        mSystemSupport.getMotionEventInjectorForDisplayLocked(displayId);
                if (mWindowManagerService.isTouchOrFaketouchDevice()) {
                if (motionEventInjector != null
                        && mWindowManagerService.isTouchOrFaketouchDevice()) {
                    motionEventInjector.injectEvents(
                            gestureSteps.getList(), mServiceInterface, sequence, displayId);
                } else {