Merge "Change the wait time of setDefaultLauncher from 20s to 60s" into android13-tests-dev

This commit is contained in:
Treehugger Robot
2023-03-22 01:39:46 +00:00
committed by Gerrit Code Review

View File

@@ -263,7 +263,7 @@ public class ShortcutManagerTestUtils {
+ instrumentation.getContext().getUserId() + " " + RoleManager.ROLE_HOME + " "
+ packageName + " 0");
waitUntil("Failed to get shortcut access",
() -> hasShortcutAccess(instrumentation, packageName), 20);
() -> hasShortcutAccess(instrumentation, packageName), 60);
}
public static void setDefaultLauncher(Instrumentation instrumentation, Context packageContext) {