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
Loading
Please register or sign in to comment