Friday, 15 March 2013

Permission node in Android manifest does not have protectionLevel value, what's the value? -



Permission node in Android manifest does not have protectionLevel value, what's the value? -

i noticed node in android manifest 1 of emulated devices using android l/5.0 not have defined protectionlevel value.

<permission android:label="@android:01040228" android:name="android.permission.body_sensors" android:permissiongroup="android.permission-group.personal_info" android:description="@android:01040229" > </permission>

the question is, protectionlevel value of permission? safe assume default protectionlevel value of permission set 0 - normal if it's missing or unknown?

from documentation <permission> tag:

"normal"

the default value. lower-risk permission gives requesting applications access isolated application-level features, minimal risk other applications, system, or user. scheme automatically grants type of permission requesting application @ installation, without asking user's explicit approval (though user has alternative review these permissions before installing).

android

No comments:

Post a Comment