Merge "Secure MATCH_UNINSTALLED_PACKAGES across users"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f81df2d5e5
@ -299,7 +299,7 @@ public final class Icon implements Parcelable {
|
||||
final PackageManager pm = context.getPackageManager();
|
||||
try {
|
||||
ApplicationInfo ai = pm.getApplicationInfo(
|
||||
resPackage, PackageManager.GET_UNINSTALLED_PACKAGES);
|
||||
resPackage, PackageManager.MATCH_UNINSTALLED_PACKAGES);
|
||||
if (ai != null) {
|
||||
mObj1 = pm.getResourcesForApplication(ai);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user