Loading services/core/java/com/android/server/pm/PackageManagerService.java +8 −7 Original line number Diff line number Diff line Loading @@ -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) { Loading
services/core/java/com/android/server/pm/PackageManagerService.java +8 −7 Original line number Diff line number Diff line Loading @@ -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) {