Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb53f84a authored by Nataniel Borges's avatar Nataniel Borges
Browse files

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
parent 4d05eedd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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