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

Commit 700fb9eb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix that AccessibilityServiceConnection#serviceInterface may be invalid in the async"

parents 67bf96ea e41806e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -407,7 +407,7 @@ class AccessibilityServiceConnection extends AbstractAccessibilityServiceConnect
    @Override
    public void dispatchGesture(int sequence, ParceledListSlice gestureSteps, int displayId) {
        synchronized (mLock) {
            if (mSecurityPolicy.canPerformGestures(this)) {
            if (mServiceInterface != null && mSecurityPolicy.canPerformGestures(this)) {
                MotionEventInjector motionEventInjector =
                        mSystemSupport.getMotionEventInjectorForDisplayLocked(displayId);
                if (motionEventInjector != null