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

Commit c1eea129 authored by Tyler Freeman's avatar Tyler Freeman
Browse files

fix(magnification): mark a few gesture tests as flaky

Weird that sometimes these flake saying "invalid pointerIndex 0 for
MotionEvent". Maybe the timing is off or something?

Fix: 297879316
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/FullScreenMagnificationGestureHandlerTest.java
Change-Id: Ie92c050fc4e24bb49eb2862a3dc4280bab927b82
parent 66de8174
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -293,6 +293,7 @@ public class FullScreenMagnificationGestureHandlerTest {
        });
    }

    @FlakyTest(bugId = 297879316)
    @Test
    public void testStates_areMutuallyExclusive() {
        forEachState(state1 -> {
@@ -449,6 +450,7 @@ public class FullScreenMagnificationGestureHandlerTest {
        });
    }

    @FlakyTest(bugId = 297879316)
    @Test
    public void testTwoFingersOneTap_activatedState_dispatchMotionEvents() {
        goFromStateIdleTo(STATE_ACTIVATED);
@@ -509,6 +511,7 @@ public class FullScreenMagnificationGestureHandlerTest {
        returnToNormalFrom(STATE_ACTIVATED);
    }

    @FlakyTest(bugId = 297879316)
    @Test
    public void testFirstFingerSwipe_twoPointerDownAndActivatedState_panningState() {
        goFromStateIdleTo(STATE_ACTIVATED);