diff --git a/tests/tapl/com/android/launcher3/tapl/OverviewActions.java b/tests/tapl/com/android/launcher3/tapl/OverviewActions.java index 950c052636..04df165953 100644 --- a/tests/tapl/com/android/launcher3/tapl/OverviewActions.java +++ b/tests/tapl/com/android/launcher3/tapl/OverviewActions.java @@ -69,7 +69,7 @@ public class OverviewActions { try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( "clicked screenshot button")) { UiObject2 closeScreenshot = mLauncher.waitForSystemUiObject( - "global_screenshot_dismiss_image"); + "screenshot_dismiss_image"); if (mLauncher.getNavigationModel() != LauncherInstrumentation.NavigationModel.THREE_BUTTON) { mLauncher.expectEvent(TestProtocol.SEQUENCE_TIS,