Allow Sv2 in launcher build version

Bug: 195632795
Test: atest NexusLauncherTests:com.google.android.apps.nexuslauncher.wellbeing.WellbeingTests#testPauseAppFromOverview
Change-Id: If0c047bfc64e17de71e9861e27c3a1373577e398
This commit is contained in:
Alex Chau 2021-08-05 14:15:59 +01:00
parent be8d4adf00
commit 2994df043a
1 changed files with 1 additions and 1 deletions

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]*)"
+ "(?<platform>[A-Z]([a-z]|[0-9])*)"
+ ")$");
private static final Pattern PLATFORM_BUILD =
Pattern.compile("^("