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

Commit 810df895 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Return ApplicationInfo with requested userId." into jb-mr1-dev

parents 3da6c219 38f8688b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1835,7 +1835,8 @@ public class PackageManagerService extends IPackageManager.Stub {
                PackageSetting ps = mSettings.mPackages.get(packageName);
                if (ps == null) return null;
                // Note: isEnabledLP() does not apply here - always return info
                return PackageParser.generateApplicationInfo(p, flags, ps.readUserState(userId));
                return PackageParser.generateApplicationInfo(
                        p, flags, ps.readUserState(userId), userId);
            }
            if ("android".equals(packageName)||"system".equals(packageName)) {
                return mAndroidApplication;