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

Commit 499814a4 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: Icfc5399fd5683ee1aa111f4367524965fa6808c2
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 4f202b06 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()