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

Commit 0295f943 authored by Ameer Armaly's avatar Ameer Armaly
Browse files

[DO NOT MERGE ] Stop setting flag to enable two-finger passthrough swipes.

Bug: 162521649
Test: atest GestureManifoldTest TouchExplorerTest AccessibilityGestureDetectorTest FrameworksServicesTests:TouchExplorerTest
Change-Id: I7718ac2ae86d46aa05d45a1ac3abc556e000e39d
parent bf402bd6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -636,7 +636,6 @@ public class AccessibilityServiceInfo implements Parcelable {
                    0);
            flags = asAttributes.getInt(
                    com.android.internal.R.styleable.AccessibilityService_accessibilityFlags, 0);
            flags |= FLAG_REQUEST_2_FINGER_PASSTHROUGH;
            mSettingsActivityName = asAttributes.getString(
                    com.android.internal.R.styleable.AccessibilityService_settingsActivity);
            if (asAttributes.getBoolean(com.android.internal.R.styleable
+2 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ public class TouchExplorerTest {
        goFromStateClearTo(STATE_DRAGGING_2FINGERS);

        assertState(STATE_DRAGGING);
        assertCapturedEvents(MotionEvent.ACTION_DOWN);
        assertCapturedEvents(MotionEvent.ACTION_DOWN, MotionEvent.ACTION_MOVE);
        assertCapturedEventsNoHistory();
    }

@@ -174,6 +174,7 @@ public class TouchExplorerTest {
        assertState(STATE_DELEGATING);
        assertCapturedEvents(
                /* goto dragging state */ MotionEvent.ACTION_DOWN,
                MotionEvent.ACTION_MOVE,
                /* leave dragging state */ MotionEvent.ACTION_UP,
                MotionEvent.ACTION_DOWN,
                MotionEvent.ACTION_POINTER_DOWN);