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

This commit is contained in:
Vadim Tryshev
2019-10-04 00:48:34 +00:00
committed by Android (Google) Code Review

View File

@@ -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")) {