I work on a project that currently asks for 21 (!) permissions.
I want to clean that up as I believe a lot of them are not necessary (for instance, there is a permission for android.permission.CALL_PHONE
which can be removed as pretty much the same thing can be achieved with an Intent
with ACTION_DIAL
).
What I want to know is a way to, given a permission (say, android.permission.AUTHENTICATE_ACCOUNTS
) find all methods which require that permission.
Note that the opposite is easy, i.e., given a method, it is easy to find if that method requires any permission (just go to the documentation and check), but what about the other way around?