Improving TAPL diags

am: ce04131f1a

Change-Id: I0f5d881e67ce71f06bea9f1509277409b54a6956
This commit is contained in:
vadimt
2019-06-14 12:35:18 -07:00
committed by android-build-merger

View File

@@ -209,8 +209,8 @@ public final class LauncherInstrumentation {
final Context ctx = baseContext.createPackageContext("android", 0);
for (int i = 0; i < 100; ++i) {
final int currentInteractionMode = getCurrentInteractionMode(ctx);
log("Interaction mode = " + currentInteractionMode);
final NavigationModel model = getNavigationModel(currentInteractionMode);
log("Interaction mode = " + currentInteractionMode + " (" + model + ")");
if (model != null) return model;
Thread.sleep(100);
}