[DO NOT MERGE] Move updateUserSenstive trigger to onGrantDefaultRoles
We need to recalculate the user sensitivity every time a package is
installed or changes.
The logic to recalculate was moved to only during boot. Move it back to
where it was before, but leave it async.
Test: forcefully installed GooglePermissionsController to override
out-of-date mainline module.
Then verified that with code before this change user-sensitive
was not updated for newly installed apps. With this change
user-sensitive is updated
Bug: 141311767
Change-Id: I6c100764850870e2e5d1ffe5fcd20b5cf2f94ed1
Loading
Please register or sign in to comment