Merge "Log an error on package not found in DefaultPermissionGrantPolicy"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e07fb110dd
@@ -1290,6 +1290,7 @@ public final class DefaultPermissionGrantPolicy {
|
||||
return mContext.getPackageManager().getPackageInfo(pkg,
|
||||
DEFAULT_PACKAGE_INFO_QUERY_FLAGS | extraFlags);
|
||||
} catch (NameNotFoundException e) {
|
||||
Slog.e(TAG, "PackageNot found: " + pkg, e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user