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

Commit 52c3e1b2 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 am: 8a39104e

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

Change-Id: Id1e48b5fd14aa2371bfeb43f938b611824308a39
parents 4a866e86 8a39104e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,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()) {