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

Commit 1ae63b02 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Fix "can't create user" failure

Bug 29612099

Change-Id: I1317f32ecaa06a36df12b2361814184f62ad1cae
parent 84cc3282
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -204,7 +204,8 @@ public class ShortcutManagerTestUtils {
    }
    }


    public static void setDefaultLauncher(Instrumentation instrumentation, String component) {
    public static void setDefaultLauncher(Instrumentation instrumentation, String component) {
        runCommand(instrumentation, "cmd package set-home-activity " + component,
        runCommand(instrumentation, "cmd package set-home-activity --user "
                + instrumentation.getContext().getUserId() + " " + component,
                result -> result.contains("Success"));
                result -> result.contains("Success"));
    }
    }