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

Commit 8a39104e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix that AccessibilityServiceConnection#serviceInterface may be invalid...

Merge "Fix that AccessibilityServiceConnection#serviceInterface may be invalid in the async" am: 700fb9eb am: bf6cc679 am: 481964bf

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

Change-Id: I0677c6a1f3b6f605d2c58a721a075f2a1630bbe3
parents 4402bf3f 481964bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -402,7 +402,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 (wmTracingEnabled()) {