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

Commit a6cc3fa3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix CtsShortcutHostTestCases#testSecondaryUser" am: 06ad45a5 am: 8ff2a450

Change-Id: I89e3959fc78eb19c08300564183871abe769f5d9
parents 7a8385e9 8ff2a450
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -197,7 +197,8 @@ public class ShortcutManagerTestUtils {
        final String PREFIX = "Launcher: ComponentInfo{";
        final String POSTFIX = "}";
        final List<String> result = runShortcutCommandForSuccess(
                instrumentation, "get-default-launcher");
                instrumentation, "get-default-launcher --user "
                + instrumentation.getContext().getUserId());
        for (String s : result) {
            if (s.startsWith(PREFIX) && s.endsWith(POSTFIX)) {
                return s.substring(PREFIX.length(), s.length() - POSTFIX.length());