diff options
author | Vadim Tryshev <vadimt@google.com> | 2019-10-04 00:48:34 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-10-04 00:48:34 +0000 |
commit | c3a4819b8ccac87952ef971030fb346d6af128f3 (patch) | |
tree | c5b85ead26529f20c29c76bdf2c87ed94cc18796 | |
parent | 233afe98e92935e2f5cf0813994a84fdc7763b4d (diff) | |
parent | 43c3d2d40aded198d52dfdac731ef4f3ce1b7223 (diff) | |
download | packages_apps_Trebuchet-c3a4819b8ccac87952ef971030fb346d6af128f3.tar.gz packages_apps_Trebuchet-c3a4819b8ccac87952ef971030fb346d6af128f3.tar.bz2 packages_apps_Trebuchet-c3a4819b8ccac87952ef971030fb346d6af128f3.zip |
Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev
-rw-r--r-- | tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 24d4964d5..c52650da4 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -543,6 +543,9 @@ public final class LauncherInstrumentation { // accessibility events prior to pressing Home. final String action; if (getNavigationModel() == NavigationModel.ZERO_BUTTON) { + final String anomaly = getAnomalyMessage(); + if (anomaly != null) fail("Can't swipe up to Home: " + anomaly); + final Point displaySize = getRealDisplaySize(); if (hasLauncherObject("deep_shortcuts_container")) { |