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

Commit 43078a9d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Delete flaky test"

parents 9a09f1f4 2723ec97
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -1010,22 +1010,6 @@ public class BuzzBeepBlinkTest extends UiServiceTestCase {
        assertEquals(-1, s.getLastAudiblyAlertedMs());
    }

    @Test
    public void testCanceledNoisyNeverVibrate() throws Exception {
        NotificationRecord r = getBuzzyBeepyNotification();

        final int waitMs = mAudioManager.getFocusRampTimeMs(
                AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK,
                r.getAudioAttributes());

        mService.buzzBeepBlinkLocked(r);
        mService.clearNotifications();

        verifyNeverVibrate();
        Thread.sleep(waitMs);
        verifyNeverVibrate();
    }
    
    @Test
    public void testEmptyUriSoundTreatedAsNoSound() throws Exception {
        NotificationChannel channel = new NotificationChannel("test", "test", IMPORTANCE_HIGH);