Merge "Update Icon find shared library resources" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-05-06 16:54:12 +00:00
committed by Android (Google) Code Review

View File

@@ -369,7 +369,9 @@ public final class Icon implements Parcelable {
final PackageManager pm = context.getPackageManager(); final PackageManager pm = context.getPackageManager();
try { try {
ApplicationInfo ai = pm.getApplicationInfo( ApplicationInfo ai = pm.getApplicationInfo(
resPackage, PackageManager.MATCH_UNINSTALLED_PACKAGES); resPackage,
PackageManager.MATCH_UNINSTALLED_PACKAGES
| PackageManager.GET_SHARED_LIBRARY_FILES);
if (ai != null) { if (ai != null) {
mObj1 = pm.getResourcesForApplication(ai); mObj1 = pm.getResourcesForApplication(ai);
} else { } else {