diff --git a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java index f98957e98b..59cc4f4b14 100644 --- a/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java +++ b/tests/src/com/android/launcher3/util/rule/TestStabilityRule.java @@ -148,7 +148,8 @@ public class TestStabilityRule implements TestRule { Log.d(TAG, "PLATFORM PRESUBMIT"); runFlavor = PLATFORM_PRESUBMIT; } else if (launcherBuildMatcher.group("platform") != null - && platformBuildMatcher.group("postsubmit") != null) { + && (platformBuildMatcher.group("postsubmit") != null + || platformBuildMatcher.group("commandLine") != null)) { Log.d(TAG, "PLATFORM POSTSUBMIT"); runFlavor = PLATFORM_POSTSUBMIT; } else {