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

Commit b1b3a1c3 authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Remove synchronization

This isn't necessary and was added purely defensively. Remove
it because it causes a deadlock.

Change-Id: Ia83536d86dd9390f89c8016097161b53c99612ce
Fixes: 67466611
Test: build, runs and the device doesn't hang
parent 30e7ca0f
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -21209,12 +21209,10 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
        }
        sUserManager.systemReady();
        synchronized(mPackages) {
        // If we upgraded grant all default permissions before kicking off.
        for (int userId : grantPermissionsUserIds) {
            mDefaultPermissionPolicy.grantDefaultPermissions(mPackages.values(), userId);
        }
        }
        if (grantPermissionsUserIds == EMPTY_INT_ARRAY) {
            // If we did not grant default permissions, we preload from this the