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

Commit e5634eeb authored by luozhanwei's avatar luozhanwei Committed by android-build-merger
Browse files

Merge "[DeadLock]AMS PMS MountService" am: 998ac99d am: 41fb54b9

am: 81544d2a

Change-Id: Ib92a19bce9fd9086c302c2cf4606b5d10161fe85
parents 7310f4f3 81544d2a
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -12884,14 +12884,13 @@ public class PackageManagerService extends IPackageManager.Stub
        if (getInstantAppPackageName(Binder.getCallingUid()) != null) {
            return null;
        }
        // writer
        synchronized (mPackages) {
        if (!isExternalMediaAvailable()) {
                // If the external storage is no longer mounted at this point,
                // the caller may not have been able to delete all of this
                // packages files and can not delete any more.  Bail.
            return null;
        }
        synchronized (mPackages) {
            final ArrayList<PackageCleanItem> pkgs = mSettings.mPackagesToBeCleaned;
            if (lastPackage != null) {
                pkgs.remove(lastPackage);