diff options
author | Kenny Root <kroot@google.com> | 2012-04-14 12:16:58 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-14 12:16:58 -0700 |
commit | 011d778c9ff3c03184ce12dbd363d0f2f844de57 (patch) | |
tree | eb64402f2b11588239b0e890b088d7042b51583a | |
parent | 9688fea77ee5415749d4b2e71e05961b28e748d5 (diff) | |
parent | 8c11f1d6abbf322f4e0aca2a27a076ec1af1e071 (diff) | |
download | frameworks_base-011d778c9ff3c03184ce12dbd363d0f2f844de57.zip frameworks_base-011d778c9ff3c03184ce12dbd363d0f2f844de57.tar.gz frameworks_base-011d778c9ff3c03184ce12dbd363d0f2f844de57.tar.bz2 |
Merge "Add warning log for mismatched signatures"
-rw-r--r-- | services/java/com/android/server/pm/PackageManagerService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/pm/PackageManagerService.java b/services/java/com/android/server/pm/PackageManagerService.java index 0dbf3a5..4c26dc5 100644 --- a/services/java/com/android/server/pm/PackageManagerService.java +++ b/services/java/com/android/server/pm/PackageManagerService.java @@ -6580,6 +6580,7 @@ public class PackageManagerService extends IPackageManager.Stub { oldPackage = mPackages.get(pkgName); if (compareSignatures(oldPackage.mSignatures, pkg.mSignatures) != PackageManager.SIGNATURE_MATCH) { + Slog.w(TAG, "New package has a different signature: " + pkgName); res.returnCode = PackageManager.INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES; return; } |