commit | 7949c5a7e4092ff1953b35c7d24ce2567056b5bc | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Thu Oct 03 18:18:33 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Oct 03 18:18:33 2019 -0700 |
tree | 9a858b7a3bdf63c83af05f86b57e6cb193de9e3e | |
parent | f4255c6c1b2f62b7a9dfc08ac1bcf1c2634d4e07 [diff] | |
parent | af754b9a9af47448916a4382aeaedd2e93c3b599 [diff] |
Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev am: c3a4819b8c am: af754b9a9a Change-Id: I9a65f1c85623f801adbd380c85a039b5c55526bf
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 262cd61..4e808a0 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -534,6 +534,9 @@ // 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")) {