summaryrefslogtreecommitdiffstats
path: root/quickstep/tests/src
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-04-26 12:46:56 -0700
committervadimt <vadimt@google.com>2019-04-26 13:22:28 -0700
commit9565c2a071d51477f58ee8a1e39dcc73d86ed96a (patch)
tree356420b348943f7707691247f5fe7433c9f33525 /quickstep/tests/src
parent6f09dd61afdb5eb78e316446cbe41ac2fd4d55a0 (diff)
downloadandroid_packages_apps_Trebuchet-9565c2a071d51477f58ee8a1e39dcc73d86ed96a.tar.gz
android_packages_apps_Trebuchet-9565c2a071d51477f58ee8a1e39dcc73d86ed96a.tar.bz2
android_packages_apps_Trebuchet-9565c2a071d51477f58ee8a1e39dcc73d86ed96a.zip
Running tests only in 1 nav mode
Pixel1: 3-button Pixel2: 2-button Pixel3: 0-button This is a temporary workaround for the listed bugs. Bug: 130558787 Bug: 131419978 Change-Id: Ic57422c7ca8e9985fc0613239c803149e66d907f
Diffstat (limited to 'quickstep/tests/src')
-rw-r--r--quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java b/quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java
index 572f9a973..93e403cc8 100644
--- a/quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java
+++ b/quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java
@@ -71,7 +71,8 @@ public class NavigationModeSwitchRule implements TestRule {
@Override
public Statement apply(Statement base, Description description) {
- if (TestHelpers.isInLauncherProcess() &&
+ // b/130558787; b/131419978
+ if (false && TestHelpers.isInLauncherProcess() &&
description.getAnnotation(NavigationModeSwitch.class) != null) {
Mode mode = description.getAnnotation(NavigationModeSwitch.class).mode();
return new Statement() {
@@ -92,12 +93,9 @@ public class NavigationModeSwitchRule implements TestRule {
if (mode == TWO_BUTTON || mode == ALL) {
evaluateWithTwoButtons();
}
- /*
- b/131419978
if (mode == THREE_BUTTON || mode == ALL) {
evaluateWithThreeButtons();
}
- */
} finally {
setActiveOverlay(prevOverlayPkg, originalMode);
}