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

Commit 2f4c61b2 authored by Ahmad Khalil's avatar Ahmad Khalil Committed by Android (Google) Code Review
Browse files

Merge "Fix flaky test VibrationThreadTest#vibrate_multipleVibrations_withCancel" into main

parents 83afa9a9 e52f0538
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1746,10 +1746,6 @@ public class VibrationThreadTest {
        assertTrue("Tested duration=" + duration4, duration4 < 2000);

        // Effect5: played normally after effect4, which may or may not have played.

        verify(mControllerCallbacks).onComplete(eq(VIBRATOR_ID), eq(vibrationId5));
        verifyCallbacksTriggered(vibrationId5, Vibration.Status.FINISHED);

        assertEquals(Arrays.asList(expectedPrebaked(VibrationEffect.EFFECT_CLICK)),
                fakeVibrator.getEffectSegments(vibrationId5));
    }