diff --git a/tests/robotests/src/com/android/settings/shortcut/CreateShortcutPreferenceControllerTest.java b/tests/robotests/src/com/android/settings/shortcut/CreateShortcutPreferenceControllerTest.java index 4aba895dfb5..3705ba8d5b8 100644 --- a/tests/robotests/src/com/android/settings/shortcut/CreateShortcutPreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/shortcut/CreateShortcutPreferenceControllerTest.java @@ -45,6 +45,7 @@ import com.android.settings.Settings; import com.android.settings.testutils.shadow.ShadowConnectivityManager; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; @@ -200,6 +201,7 @@ public class CreateShortcutPreferenceControllerTest { } @Test + @Ignore public void queryShortcuts_configShowDataUsage_ShouldEnableShortcuts() { doReturn(true).when(mController).canShowDataUsage(); setupActivityInfo(Settings.DataUsageSummaryActivity.class.getSimpleName()); @@ -208,6 +210,7 @@ public class CreateShortcutPreferenceControllerTest { } @Test + @Ignore public void queryShortcuts_configNotShowDataUsage_ShouldDisableShortcuts() { doReturn(false).when(mController).canShowDataUsage(); setupActivityInfo(Settings.DataUsageSummaryActivity.class.getSimpleName());