am 55cfcd75: Merge "doSignaturePermission -> grantSignaturePermission" into jb-mr2-dev
* commit '55cfcd75691581ffc4f88034711a2442db619a53': doSignaturePermission -> grantSignaturePermission
This commit is contained in:
@@ -5140,7 +5140,7 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
// This permission is invalid; skip it.
|
||||
allowed = false;
|
||||
} else if (level == PermissionInfo.PROTECTION_SIGNATURE) {
|
||||
allowed = doSignaturePermission(perm, pkg, bp, origPermissions);
|
||||
allowed = grantSignaturePermission(perm, pkg, bp, origPermissions);
|
||||
if (allowed) {
|
||||
allowedSig = true;
|
||||
}
|
||||
@@ -5224,7 +5224,7 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
return allowed;
|
||||
}
|
||||
|
||||
private boolean doSignaturePermission(String perm, PackageParser.Package pkg,
|
||||
private boolean grantSignaturePermission(String perm, PackageParser.Package pkg,
|
||||
BasePermission bp, HashSet<String> origPermissions) {
|
||||
boolean allowed;
|
||||
allowed = (compareSignatures(
|
||||
|
||||
Reference in New Issue
Block a user