From 2994df043a8b147e73e5ffc0b0a70225b6415dbd Mon Sep 17 00:00:00 2001 From: Alex Chau Date: Thu, 5 Aug 2021 14:15:59 +0100 Subject: [PATCH] Allow Sv2 in launcher build version Bug: 195632795 Test: atest NexusLauncherTests:com.google.android.apps.nexuslauncher.wellbeing.WellbeingTests#testPauseAppFromOverview Change-Id: If0c047bfc64e17de71e9861e27c3a1373577e398 --- .../src/com/android/launcher3/util/rule/TestStabilityRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java index c24fc8e6c2..de36d5f1b5 100644 --- a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java +++ b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java @@ -41,7 +41,7 @@ public class TestStabilityRule implements TestRule { Pattern.compile("^(" + "(?(BuildFromAndroidStudio|" + "([0-9]+|[A-Z])-eng\\.[a-z]+\\.[0-9]+\\.[0-9]+))|" - + "(?[A-Z][a-z]*)" + + "(?[A-Z]([a-z]|[0-9])*)" + ")$"); private static final Pattern PLATFORM_BUILD = Pattern.compile("^("