diff options
| author | 2022-09-30 09:23:13 +0000 | |
|---|---|---|
| committer | 2022-09-30 09:23:13 +0000 | |
| commit | ed1b57a8f418cc767c742792c7bbfc30cad856a8 (patch) | |
| tree | 8593ee277db4fbfb15a77ad7ec3d89bd9b8193e4 | |
| parent | 2f5bc9b7f1b15917675422ffd7df5e90ca3be649 (diff) | |
| parent | ff533ba43558c1f27a15af270024c6e51f63817f (diff) | |
Merge "Use simple home key for setup"
| -rw-r--r-- | tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppFromNotificationWarm.kt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppFromNotificationWarm.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppFromNotificationWarm.kt index 2babf1c8e982..c5ead06e8223 100644 --- a/tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppFromNotificationWarm.kt +++ b/tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppFromNotificationWarm.kt @@ -19,7 +19,6 @@ package com.android.server.wm.flicker.launch import android.platform.test.annotations.FlakyTest import android.platform.test.annotations.Postsubmit import android.platform.test.annotations.RequiresDevice -import android.view.Surface import android.view.WindowInsets import android.view.WindowManager import androidx.test.uiautomator.By @@ -75,14 +74,7 @@ open class OpenAppFromNotificationWarm( .withFullScreenApp(testApp) .waitForAndVerify() testApp.postNotification(wmHelper) - - if (testSpec.isTablet) { - tapl.setExpectedRotation(testSpec.startRotation) - } else { - tapl.setExpectedRotation(Surface.ROTATION_0) - } - - tapl.goHome() + device.pressHome() wmHelper.StateSyncBuilder() .withHomeActivityVisible() .waitForAndVerify() |