From a7cb47995428836636903098d7889f3d1c27d3cb Mon Sep 17 00:00:00 2001 From: vadimt Date: Mon, 22 Apr 2019 14:41:12 -0700 Subject: [PATCH] Logging TAPL interaction model Change-Id: I7c44d1b145677919991338fa87e736712587a695 --- .../tapl/com/android/launcher3/tapl/LauncherInstrumentation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 8f777b6890..27bc43ef96 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -175,6 +175,7 @@ public final class LauncherInstrumentation { // Workaround, use constructed context because both the instrumentation context and the // app context are not constructed with resources that take overlays into account final Context ctx = baseContext.createPackageContext("android", 0); + log("Interaction mode = " + getCurrentInteractionMode(ctx)); if (isGesturalMode(ctx)) { return NavigationModel.ZERO_BUTTON; } else if (isSwipeUpMode(ctx)) {