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

Commit 1c299031 authored by Kenny Guy's avatar Kenny Guy Committed by Android (Google) Code Review
Browse files

Merge "Fix bug with getLauncherActivities ignoring packageName."

parents 7cb08dd9 1a4e0b99
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -144,6 +144,7 @@ public class LauncherAppsService extends ILauncherApps.Stub {

        final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
        mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
        mainIntent.setPackage(packageName);
        long ident = Binder.clearCallingIdentity();
        try {
            List<ResolveInfo> apps = mPm.queryIntentActivitiesAsUser(mainIntent, 0,