From bb53f84a2a966b1ec880348a10a164120f213c6a Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Tue, 11 Oct 2022 14:06:10 +0000 Subject: [PATCH] Use correct app helper in ExitPipToAppTransition Using FixedOrientationAppHelper causes letter boxing on tablets Fixes: 249029108 Test: atest WMShellFlickerTests com.android.wm.shell.flicker.pip Change-Id: Ibb8b5c4e45fca3c0c6b5ef90bfab69404e31c6ed --- .../android/wm/shell/flicker/pip/ExitPipToAppTransition.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ExitPipToAppTransition.kt b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ExitPipToAppTransition.kt index 3d8525b3d4ad3..1dc03b9b89007 100644 --- a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ExitPipToAppTransition.kt +++ b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ExitPipToAppTransition.kt @@ -18,12 +18,12 @@ package com.android.wm.shell.flicker.pip import android.platform.test.annotations.Presubmit import com.android.server.wm.flicker.FlickerTestParameter -import com.android.server.wm.flicker.helpers.FixedOrientationAppHelper +import com.android.server.wm.flicker.helpers.SimpleAppHelper import org.junit.Test /** Base class for pip expand tests */ abstract class ExitPipToAppTransition(testSpec: FlickerTestParameter) : PipTransition(testSpec) { - protected val testApp = FixedOrientationAppHelper(instrumentation) + protected val testApp = SimpleAppHelper(instrumentation) /** * Checks that the pip app window remains inside the display bounds throughout the whole