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

Commit a100d070 authored by Ameer Armaly's avatar Ameer Armaly Committed by Android (Google) Code Review
Browse files

Merge "Service Gesture Detection: don't lock when executing double tap in the...

Merge "Service Gesture Detection: don't lock when executing double tap in the framework." into tm-dev
parents 116b6300 c21d842c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -4290,11 +4290,15 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
    }

    private void onDoubleTapInternal(int displayId) {
        AccessibilityInputFilter inputFilter = null;
        synchronized (mLock) {
            if (mHasInputFilter && mInputFilter != null) {
                mInputFilter.onDoubleTap(displayId);
                inputFilter = mInputFilter;
            }
        }
        if (inputFilter != null) {
            inputFilter.onDoubleTap(displayId);
        }
    }

    @Override