From e9d47b364ec07811b3b94312dd15ee3966cb3d34 Mon Sep 17 00:00:00 2001 From: Matthew Fritze Date: Wed, 9 Dec 2020 13:58:42 -0800 Subject: [PATCH] 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 --- .../com/android/systemui/statusbar/phone/StatusBarTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java index 5416f75dffff9..6fb4ebaba1b6d 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java @@ -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 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