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

Commit a983528f authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

One final attempt at patching over ASEC mess.

Test: builds, boots multiple times, runtime permissions grantable
Bug: 65544665
Change-Id: Ia6a7b2c30e36c72e61ad201e2d8eb8de4d0fd110
parent d14a3fb8
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -22299,14 +22299,15 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
            // default permission exceptions lazily to ensure we don't hit the
            // disk on a new user creation.
            mDefaultPermissionPolicy.scheduleReadDefaultPermissionExceptions();
        } else {
            // Since we granted default permissions above, we need an update
            // pass to apply those changes.
        }
        // Now that we've scanned all packages, and granted any default
        // permissions, ensure permissions are updated. Beware of dragons if you
        // try optimizing this.
        synchronized (mPackages) {
            updatePermissionsLPw(null, null, StorageManager.UUID_PRIVATE_INTERNAL,
                    UPDATE_PERMISSIONS_ALL);
        }
        }
        // Kick off any messages waiting for system ready
        if (mPostSystemReadyMessages != null) {