Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev

am: c3a4819b8c

Change-Id: Ifc6a781cea4dc38b58435314b8760e89b327446a
This commit is contained in:
Vadim Tryshev authored and android-build-merger committed 2019-10-03 18:11:32 -07:00
commit af754b9a9a
1 file changed
+3
@@ -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")) {