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

Skip to content
Commit 6e4a6a66 authored by mrulhania's avatar mrulhania
Browse files

Adding check in requestPermissions for pre M apps

The recent optimization introduced in ag/30469303 is
causing PermissionTest22#testNoRuntimePrompt test to
fail. The test is verifying that permission dialog
is not shown for pre M apps i.e. target sdk < 23.

Although these apps are not supposed to call
Activity#requestPermissions API, adding this
check for compatibility.

Fix: 384177995
Test: atest PermissionTest22
FLAG: EXEMPT test fix

Change-Id: I34aa955fc13a2c0758fe2726467fc5082d72d2c4
parent 1225c793
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