From 0790cef41c499e7de367885adcdac208f7f1921c Mon Sep 17 00:00:00 2001 From: vadimt Date: Tue, 12 May 2020 18:25:32 -0700 Subject: [PATCH] Dumping view hierarchy before swiping to Overview Bug: 156044202 Change-Id: I21a11a7a55103cffbc05ddeeb93ecc4f6f4063e7 --- tests/tapl/com/android/launcher3/tapl/Background.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/tapl/com/android/launcher3/tapl/Background.java b/tests/tapl/com/android/launcher3/tapl/Background.java index 94ab780649..ce94a3e723 100644 --- a/tests/tapl/com/android/launcher3/tapl/Background.java +++ b/tests/tapl/com/android/launcher3/tapl/Background.java @@ -86,6 +86,11 @@ public class Background extends LauncherInstrumentation.VisibleContainer { zeroButtonToOverviewGestureStartsInLauncher() ? LauncherInstrumentation.GestureScope.INSIDE_TO_OUTSIDE : LauncherInstrumentation.GestureScope.OUTSIDE; + + // b/156044202 + mLauncher.log("Hierarchy before swiping up to overview:"); + mLauncher.dumpViewHierarchy(); + mLauncher.sendPointer( downTime, downTime, MotionEvent.ACTION_DOWN, start, gestureScope); mLauncher.executeAndWaitForEvent(