diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-07-29 14:07:14 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-07-29 14:07:14 -0700 |
commit | 31b5d5485f7336639d252da7ba979234dbd2f1e1 (patch) | |
tree | 149d0d8de3a73420feac657cb8252f7ee2ce0020 /services | |
parent | 571180c4c72e0bb4f930f8971edf000a652f10f6 (diff) | |
parent | fb1f103191f1cf424a79aaf1cd67d2d1900138e0 (diff) | |
download | frameworks_base-31b5d5485f7336639d252da7ba979234dbd2f1e1.zip frameworks_base-31b5d5485f7336639d252da7ba979234dbd2f1e1.tar.gz frameworks_base-31b5d5485f7336639d252da7ba979234dbd2f1e1.tar.bz2 |
Merge "Fix a bug where we cleaned an apps external data when upgrading it. :(" into gingerbread
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/PackageManagerService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/java/com/android/server/PackageManagerService.java b/services/java/com/android/server/PackageManagerService.java index 1a4b59f..b29c6e6 100644 --- a/services/java/com/android/server/PackageManagerService.java +++ b/services/java/com/android/server/PackageManagerService.java @@ -6282,11 +6282,10 @@ class PackageManagerService extends IPackageManager.Stub { File dataDir = new File(pkg.applicationInfo.dataDir); dataDir.delete(); } + schedulePackageCleaning(packageName); } synchronized (mPackages) { if (deletedPs != null) { - schedulePackageCleaning(packageName); - if ((flags&PackageManager.DONT_DELETE_DATA) == 0) { if (outInfo != null) { outInfo.removedUid = mSettings.removePackageLP(packageName); |