diff --git a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java index 32dd21c8c2..c24fc8e6c2 100644 --- a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java +++ b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java @@ -41,9 +41,7 @@ public class TestStabilityRule implements TestRule { Pattern.compile("^(" + "(?(BuildFromAndroidStudio|" + "([0-9]+|[A-Z])-eng\\.[a-z]+\\.[0-9]+\\.[0-9]+))|" - + "(?([0-9]+|[A-Z])-P[0-9]+)|" - + "(?([0-9]+|[A-Z])-[0-9]+)|" - + "(?[0-9]+|[A-Z])" + + "(?[A-Z][a-z]*)" + ")$"); private static final Pattern PLATFORM_BUILD = Pattern.compile("^(" @@ -56,7 +54,7 @@ public class TestStabilityRule implements TestRule { public static final int PLATFORM_PRESUBMIT = 0x8; public static final int PLATFORM_POSTSUBMIT = 0x10; - private static int sRunFlavor = PLATFORM_PRESUBMIT; // b/194528425 + private static int sRunFlavor; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD)