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

Commit 69c26226 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Follow-up to I61640146 Remove duplicate check."

parents ae786f54 976071a6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -515,9 +515,6 @@ public class LauncherAppsService extends SystemService {
            if (!canAccessProfile(callingPackage, targetUserId, "Cannot start activity")) {
                return false;
            }
            if (!canAccessProfile(callingPackage, targetUserId, "Cannot access shortcuts")) {
                return false;
            }
            if (!isUserEnabled(targetUserId)) {
                throw new IllegalStateException("Cannot start a shortcut for disabled profile "
                        + targetUserId);