diff --git a/quickstep/tests/src/com/android/quickstep/DigitalWellBeingToastTest.java b/quickstep/tests/src/com/android/quickstep/DigitalWellBeingToastTest.java index 2a7da7eca8..3e84a76695 100644 --- a/quickstep/tests/src/com/android/quickstep/DigitalWellBeingToastTest.java +++ b/quickstep/tests/src/com/android/quickstep/DigitalWellBeingToastTest.java @@ -3,8 +3,6 @@ package com.android.quickstep; import static androidx.test.InstrumentationRegistry.getInstrumentation; import static com.android.launcher3.LauncherState.OVERVIEW; -import static com.android.launcher3.util.rule.TestStabilityRule.PLATFORM_POSTSUBMIT; -import static com.android.launcher3.util.rule.TestStabilityRule.UNBUNDLED_POSTSUBMIT; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -18,7 +16,6 @@ import androidx.test.filters.LargeTest; import androidx.test.runner.AndroidJUnit4; import com.android.launcher3.Launcher; -import com.android.launcher3.util.rule.TestStabilityRule; import com.android.quickstep.views.DigitalWellBeingToast; import com.android.quickstep.views.RecentsView; import com.android.quickstep.views.TaskView; diff --git a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java index 61f5e05aa5..0e27b61b84 100644 --- a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java +++ b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java @@ -53,8 +53,6 @@ public class TestStabilityRule implements TestRule { + ")$"); public static final int LOCAL = 0x1; - public static final int UNBUNDLED_PRESUBMIT = 0x2; - public static final int UNBUNDLED_POSTSUBMIT = 0x4; public static final int PLATFORM_PRESUBMIT = 0x8; public static final int PLATFORM_POSTSUBMIT = 0x10; @@ -136,14 +134,6 @@ public class TestStabilityRule implements TestRule { platformBuildMatcher.group("postsubmit") != null)) { Log.d(TAG, "LOCAL RUN"); sRunFlavor = LOCAL; - } else if (launcherBuildMatcher.group("presubmit") != null - && platformBuildMatcher.group("postsubmit") != null) { - Log.d(TAG, "UNBUNDLED PRESUBMIT"); - sRunFlavor = UNBUNDLED_PRESUBMIT; - } else if (launcherBuildMatcher.group("postsubmit") != null - && platformBuildMatcher.group("postsubmit") != null) { - Log.d(TAG, "UNBUNDLED POSTSUBMIT"); - sRunFlavor = UNBUNDLED_POSTSUBMIT; } else if (launcherBuildMatcher.group("platform") != null && platformBuildMatcher.group("presubmit") != null) { Log.d(TAG, "PLATFORM PRESUBMIT");