Android Resolution Level Determination

I have some Android permissions that I would like to know which they apply to. Does anyone know how to check this? For example, I need to know the level of protection android.permission.RECEIVE_BOOT_COMPLETED, but I would like to check a lot more.

EDIT:

I see that I did not say this clearly: I do not mean the API level from which the permission was entered, but the level of protection of rights, one of four: normal, dangerous, signature, signature or system. It determines, for example, how this permission is granted to the user during the installation of the application. How can I check to what level of protection a particular permission belongs?

+5
source share
5 answers

:

https://github.com/android/platform_frameworks_base/blob/master/core/res/AndroidManifest.xml

:

<permission android:name="android.permission.INTERNET"
    android:permissionGroup="android.permission-group.NETWORK"
    android:protectionLevel="dangerous"
    android:description="@string/permdesc_createNetworkSockets"
    android:label="@string/permlab_createNetworkSockets" />

, OEM.

+6
getPackageManager().getPermissionInfo(name,  0).protectionLevel
+4

android. , :

+1

Android-Permission..

  • , , . , API. , API . , .

    enter image description here

  • API . API , . API , : RPC-. API. API .

Android-Permission

0

The security level can be found in the permission documentation.

android website

0
source

All Articles