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

Commit dd813527 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Fix instance of using mPackages as the lock

It looks like the day that the switch to mLock went in, another change
merged in that added code that included synchronization on mPackages.
This gets us back to only using mLock.

Test: Builds
Bug: N/A
Change-Id: I6c9332a135efd4f0189ed6f27f43ba51f025cf8f
parent 9d9e19c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20270,7 +20270,7 @@ public class PackageManagerService extends IPackageManager.Stub
                    mInjector.getPermissionPolicyInternal();
            permissionPolicyInternal.setOnInitializedCallback(userId -> {
                // The SDK updated case is already handled when we run during the ctor.
                synchronized (mPackages) {
                synchronized (mLock) {
                    mPermissionManager.updateAllPermissions(
                            StorageManager.UUID_PRIVATE_INTERNAL, false);
                }