Merge "Recognizing Launcher builds consisting only of digits" into sc-v2-dev

This commit is contained in:
Alex Chau
2021-11-18 09:59:59 +00:00
committed by Android (Google) Code Review

View File

@@ -41,7 +41,7 @@ public class TestStabilityRule implements TestRule {
Pattern.compile("^("
+ "(?<local>(BuildFromAndroidStudio|"
+ "([0-9]+|[A-Z])-eng\\.[a-z]+\\.[0-9]+\\.[0-9]+))|"
+ "(?<platform>[A-Z]([a-z]|[0-9])*)"
+ "(?<platform>([A-Z][a-z]*[0-9]*|[0-9]+)*)"
+ ")$");
private static final Pattern PLATFORM_BUILD =
Pattern.compile("^("