diff options
| author | 2024-04-10 12:24:06 +0000 | |
|---|---|---|
| committer | 2024-04-10 17:35:23 +0000 | |
| commit | 2d8b9a4b12093e0240882cc38a1b1da1c2b136ef (patch) | |
| tree | 2da5d4ac5b7863862c68f8d19e7de534b9eb8cc9 | |
| parent | a288bec991fe9bfca52e30b2507a051760ae6536 (diff) | |
Use tapl to open recents instead of UiDevice
TAPL should be more stable
Fixes: 331064084
Test: atest FlickerTestsIme2
Change-Id: Ie7098bef8b2f1259080bd553c3adcf5c5255047c
| -rw-r--r-- | tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnAppStartWhenLaunchingAppFromOverviewTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnAppStartWhenLaunchingAppFromOverviewTest.kt b/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnAppStartWhenLaunchingAppFromOverviewTest.kt index 617237d37368..92b865542257 100644 --- a/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnAppStartWhenLaunchingAppFromOverviewTest.kt +++ b/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnAppStartWhenLaunchingAppFromOverviewTest.kt @@ -50,7 +50,7 @@ class ShowImeOnAppStartWhenLaunchingAppFromOverviewTest(flicker: LegacyFlickerTe testApp.launchViaIntent(wmHelper) testApp.openIME(wmHelper) this.setRotation(flicker.scenario.startRotation) - device.pressRecentApps() + tapl.launchedAppState.switchToOverview() wmHelper.StateSyncBuilder().withRecentsActivityVisible().waitForAndVerify() } transitions { |