Merge "Change the wait time of setDefaultLauncher from 20s to 60s" am: f525d4093f am: 1a7736be63 am: 1d798b51c0

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2452428

Change-Id: I36dcf2078012c9e77e3ffcd041e8de9734b75483
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-02-24 12:38:42 +00:00
committed by Automerger Merge Worker

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) {