OSDN Git Service

Automated import from //branches/cupcake/...@141957,141957
authorSuchi Amalapurapu <>
Wed, 25 Mar 2009 01:43:00 +0000 (18:43 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Wed, 25 Mar 2009 01:43:00 +0000 (18:43 -0700)
services/java/com/android/server/PackageManagerService.java

index 7fffcb9..9e062f4 100644 (file)
@@ -1948,7 +1948,7 @@ class PackageManagerService extends IPackageManager.Stub {
                 }
                 // The signature has changed, but this package is in the system
                 // image...  let's recover!
-                pkg.mSignatures = pkgSetting.signatures.mSignatures;
+                pkgSetting.signatures.mSignatures = pkg.mSignatures;
                 // However...  if this package is part of a shared user, but it
                 // doesn't match the signature of the shared user, let's fail.
                 // What this means is that you can't change the signatures