diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-07-29 13:57:56 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-07-29 15:24:15 -0700 |
commit | 3855980b4355017fa9a4988d7b150f3222075198 (patch) | |
tree | c078487e21c67006d0725783a4571c6b79f1f535 /services | |
parent | e8605af513e846f6cd223c9e92461189727d8c9b (diff) | |
download | frameworks_base-3855980b4355017fa9a4988d7b150f3222075198.zip frameworks_base-3855980b4355017fa9a4988d7b150f3222075198.tar.gz frameworks_base-3855980b4355017fa9a4988d7b150f3222075198.tar.bz2 |
Fix a bug where we cleaned an apps external data when upgrading it. :(
Change-Id: I0eee1e7062d334c66d6daa3c43e11a292263aada
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 49d2a76..0b84c8d 100644 --- a/services/java/com/android/server/PackageManagerService.java +++ b/services/java/com/android/server/PackageManagerService.java @@ -6222,11 +6222,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); |