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

Commit a18524aa authored by Ameer Armaly's avatar Ameer Armaly Committed by Automerger Merge Worker
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 am: a100d070

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

Change-Id: I0b2af019f7438f99f0dae33f395f07dc9209d73d
parents 23baea70 a100d070
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