commit | af754b9a9af47448916a4382aeaedd2e93c3b599 | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Thu Oct 03 18:11:32 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Oct 03 18:11:32 2019 -0700 |
tree | 48f98f18f2672794f0ba9e2b6e9592b6bfd0c674 | |
parent | 3878d3ef095175c6c0b45d36dbfef03dda0a956d [diff] | |
parent | c3a4819b8ccac87952ef971030fb346d6af128f3 [diff] |
Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev am: c3a4819b8c Change-Id: Ifc6a781cea4dc38b58435314b8760e89b327446a
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 24d4964..c52650d 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -543,6 +543,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")) {