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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user