Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52075987 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 31b5d548: Merge "Fix a bug where we cleaned an apps external data when...

am 31b5d548: Merge "Fix a bug where we cleaned an apps external data when upgrading it. :(" into gingerbread

Merge commit '31b5d548' into gingerbread-plus-aosp

* commit '31b5d548':
  Fix a bug where we cleaned an apps external data when upgrading it. :(
parents 06abd0a6 31b5d548
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);