Merge "Update Icon find shared library resources" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d7f30b0e02
@@ -369,7 +369,9 @@ public final class Icon implements Parcelable {
|
||||
final PackageManager pm = context.getPackageManager();
|
||||
try {
|
||||
ApplicationInfo ai = pm.getApplicationInfo(
|
||||
resPackage, PackageManager.MATCH_UNINSTALLED_PACKAGES);
|
||||
resPackage,
|
||||
PackageManager.MATCH_UNINSTALLED_PACKAGES
|
||||
| PackageManager.GET_SHARED_LIBRARY_FILES);
|
||||
if (ai != null) {
|
||||
mObj1 = pm.getResourcesForApplication(ai);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user