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

Commit e9d47b36 authored by Matthew Fritze's avatar Matthew Fritze
Browse files

Disable test which might be calling 911 as part of panic gesture

I will investigate whether this is actually completing the 911 call
later.

Test: atest SystemUITests
Change-Id: I5be95e4061c3e200b15a75eac3a9d9ccccc30b71
parent e0baa920
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@ import com.android.wm.shell.bubbles.Bubbles;
import com.android.wm.shell.splitscreen.SplitScreen;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
@@ -886,6 +887,7 @@ public class StatusBarTest extends SysuiTestCase {
        verify(mDozeServiceHost).setDozeSuppressed(false);
    }

    @Ignore // TODO (b/175240607) - Figure out if the device will actually dial 911.
    @Test
    public void onEmergencyActionLaunchGesture_launchesEmergencyIntent() {
        ArgumentCaptor<Intent> intentCaptor = ArgumentCaptor.forClass(Intent.class);
@@ -896,7 +898,6 @@ public class StatusBarTest extends SysuiTestCase {
        verify(statusBarSpy).startActivity(intentCaptor.capture(), eq(true));
        Intent sentIntent = intentCaptor.getValue();
        assertEquals(sentIntent.getAction(), EmergencyGesture.ACTION_LAUNCH_EMERGENCY);

    }

    public static class TestableNotificationInterruptStateProviderImpl extends