Merge "Change the wait time of setDefaultLauncher from 20s to 60s" into android13-tests-dev am: 47dd6d7279 am: 26e6bddfbc am: 3529942a1b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2455828 Change-Id: I7a105ba671cc1f2152eff95d0dbf266a2696fc1e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -263,7 +263,7 @@ public class ShortcutManagerTestUtils {
|
|||||||
+ instrumentation.getContext().getUserId() + " " + RoleManager.ROLE_HOME + " "
|
+ instrumentation.getContext().getUserId() + " " + RoleManager.ROLE_HOME + " "
|
||||||
+ packageName + " 0");
|
+ packageName + " 0");
|
||||||
waitUntil("Failed to get shortcut access",
|
waitUntil("Failed to get shortcut access",
|
||||||
() -> hasShortcutAccess(instrumentation, packageName), 20);
|
() -> hasShortcutAccess(instrumentation, packageName), 60);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setDefaultLauncher(Instrumentation instrumentation, Context packageContext) {
|
public static void setDefaultLauncher(Instrumentation instrumentation, Context packageContext) {
|
||||||
|
|||||||
Reference in New Issue
Block a user