Merge "[DeadLock]AMS PMS MountService"
am: 998ac99db4
Change-Id: I5910f42d91c3c3edcc092a87cc2e291d6e83e75e
This commit is contained in:
@@ -14629,14 +14629,13 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
if (getInstantAppPackageName(Binder.getCallingUid()) != null) {
|
||||
return null;
|
||||
}
|
||||
// writer
|
||||
synchronized (mPackages) {
|
||||
if (!isExternalMediaAvailable()) {
|
||||
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;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
synchronized (mPackages) {
|
||||
final ArrayList<PackageCleanItem> pkgs = mSettings.mPackagesToBeCleaned;
|
||||
if (lastPackage != null) {
|
||||
pkgs.remove(lastPackage);
|
||||
|
||||
Reference in New Issue
Block a user