From e9ce95bed84c51330bde3706d992b3b1ca594109 Mon Sep 17 00:00:00 2001 From: vadimt Date: Mon, 3 May 2021 19:04:21 -0700 Subject: [PATCH] Temporary wait to check that waiting after swiping from context menu is a way to the real fix. Test: presubmit Bug: 187080582 Change-Id: Ief09857c267e8786bb6f67203db26b47f27060ea --- .../tapl/com/android/launcher3/tapl/LauncherInstrumentation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index ebad15449d..e5b93b1890 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -695,6 +695,7 @@ public final class LauncherInstrumentation { waitUntilLauncherObjectGone(CONTEXT_MENU_RES_ID); // Swiping up can temporarily bring Nexus Launcher if the current // Launcher is a Launcher3 one. Wait for the current launcher to reappear. + SystemClock.sleep(5000); // b/187080582 waitForLauncherObject(getAnyObjectSelector()); } }