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

Commit 0de79435 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Annotate the flicker test case

Acknowledge that there would be a flicker when entering PiP from a
split-screen setup.

Bug: 312446524
Bug: 330014896
Test: atest FromSplitScreenEnterPipOnUserLeaveHintTest
Change-Id: I583d205b6d5d657458045734890020471db7f759
parent 857e1d84
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import android.tools.flicker.legacy.LegacyFlickerTest
import android.tools.flicker.legacy.LegacyFlickerTestFactory
import android.tools.helpers.WindowUtils
import android.tools.traces.parsers.toFlickerComponent
import androidx.test.filters.FlakyTest
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.helpers.SimpleAppHelper
import com.android.server.wm.flicker.testapp.ActivityOptions
@@ -181,6 +182,12 @@ class FromSplitScreenEnterPipOnUserLeaveHintTest(flicker: LegacyFlickerTest) :
        }
    }

    /** {@inheritDoc} */
    @FlakyTest(bugId = 312446524)
    @Test
    override fun visibleLayersShownMoreThanOneConsecutiveEntry() =
        super.visibleLayersShownMoreThanOneConsecutiveEntry()

    companion object {
        @Parameterized.Parameters(name = "{0}")
        @JvmStatic