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

Skip to content
Commit 29ed7908 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Do not crash permission review on invalid permissions

Apps can request permissions that are not defined. In this case any
attempt to change properties of these permission will fail. This is also
means that these were never marked as REVIEW_REQURIED.

Hence it is totally fine to just pave over these exception.

Fixes: 136143384
Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest#testCompatDefault22
      (crashed before, now passes)

Change-Id: I9fc29ec5b63046c5f753aae3ea3b7b599924cad8
parent bfb18441
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment