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

Skip to content
Commit e870d022 authored by Anton Hansson's avatar Anton Hansson
Browse files

Revoke all relevant shared permission on uninstall

The for-loop over the uninstalled app's permissions would
previously return immediately after successfully revoking
a shared permission, preventing the loop to run to the end.

Instead, always loop through all the permission and return
the "widest" matching user id.

Bug: 36899497
Test: manual, using provided test apks
Test: atest CtsPermissionTestCases:SharedUidPermissionsTest
Change-Id: I1f8fad77123c8affa2d825bce1edc2bcd8f60f12
parent 2384444f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment