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

Commit 366abcd6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Disable status bar assertions on OpenCameraOnDoubleClickPowerButton"...

Merge "Disable status bar assertions on OpenCameraOnDoubleClickPowerButton" into udc-dev am: 251b591a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22627896



Change-Id: Ibf6bb349be0cf4bdc727745cb1dcff6d18fb819b
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 6f656354 251b591a
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -24,11 +24,12 @@ import android.tools.device.flicker.junit.FlickerParametersRunnerFactory
import android.tools.device.flicker.legacy.FlickerBuilder
import android.tools.device.flicker.legacy.FlickerTest
import android.tools.device.flicker.legacy.FlickerTestFactory
import android.tools.device.flicker.rules.RemoveAllTasksButHomeRule
import android.view.KeyEvent
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.helpers.setRotation
import android.tools.device.flicker.rules.RemoveAllTasksButHomeRule
import org.junit.FixMethodOrder
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.MethodSorters
@@ -44,6 +45,7 @@ import org.junit.runners.Parameterized
 *     Make sure no apps are running on the device
 *     Launch an app [testApp] and wait animation to complete
 * ```
 *
 * Notes:
 * ```
 *     1. Some default assertions (e.g., nav bar, status bar and screen covered)
@@ -112,16 +114,16 @@ class OpenCameraOnDoubleClickPowerButton(flicker: FlickerTest) :
    @Test
    override fun navBarWindowIsAlwaysVisible() = super.navBarWindowIsAlwaysVisible()

    @Postsubmit
    @Ignore("Status bar visibility depends on whether the permission dialog is displayed or not")
    @Test
    override fun statusBarLayerIsVisibleAtStartAndEnd() =
        super.statusBarLayerIsVisibleAtStartAndEnd()

    @Postsubmit
    @Ignore("Status bar visibility depends on whether the permission dialog is displayed or not")
    @Test
    override fun statusBarLayerPositionAtStartAndEnd() = super.statusBarLayerPositionAtStartAndEnd()

    @Postsubmit
    @Ignore("Status bar visibility depends on whether the permission dialog is displayed or not")
    @Test
    override fun statusBarWindowIsAlwaysVisible() = super.statusBarWindowIsAlwaysVisible()