Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 391aaf65 authored by gang.huang's avatar gang.huang
Browse files

Change the wait time of setDefaultLauncher from 20s to 60s

On some low-performance devices, the method setDefaultLauncher can not be completed whithin 20s

Change-Id: Iab78a57d4329095358cad6e79088909b48a22264
parent d7780a2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {