应用程序的“身份"权限在哪里?在Android棉花糖中 [英] Where is the App permission for "identity" in android marshmallow
问题描述
我正在尝试使用Android Studio随附的仿真器,以查看用户可以在此设备上启用/禁用哪些权限.
I am trying to use an emulator with which comes with Android Studio, to see what permissions a user can enable / disable from this device.
尽管开发人员可以声明他需要访问身份"或联系卡,但似乎在模拟器中,没有选项显示禁止访问身份"的应用.
While a developer can declare he needs access to "Identity" or contact card, it seems that in the emulator, there is no option to display the apps that have disabled access to "identity".
这是否意味着用户没有选择拒绝访问身份的选择?还是只是除非您创建一个请求身份的应用程序,否则它不会出现在模拟器中?
Does this mean that there is no option for a user to refuse access to identity ? Or is it just that it does not appear in the emulator unless you create an app that requests identity ?
推荐答案
在Android 6.0中,仅需要向用户请求危险"权限.当其他人在清单中声明时,其他人将被自动授予.
Only "dangerous" permissions need to be requested from user in Android 6.0. Others are granted automatically when they are declared in the manifest.
可在此处找到危险权限列表: http://developer.android.com/guide/topics/security/permissions.html#normal-dangerous -它们分为几组,
List of dangerous permissions can be found here: http://developer.android.com/guide/topics/security/permissions.html#normal-dangerous - they are divided in groups, which are:
日历
READ_CALENDAR
WRITE_CALENDAR
相机
CAMERA
联系人
READ_CONTACTS
WRITE_CONTACTS
GET_ACCOUNTS
位置
ACCESS_FINE_LOCATION
ACCESS_COARSE_LOCATION
麦克风
RECORD_AUDIO
电话
READ_PHONE_STATE
CALL_PHONE
READ_CALL_LOG
WRITE_CALL_LOG
ADD_VOICEMAIL
USE_SIP
PROCESS_OUTGOING_CALLS
传感器
BODY_SENSORS
短信
SEND_SMS
RECEIVE_SMS
READ_SMS
RECEIVE_WAP_PUSH
RECEIVE_MMS
存储
READ_EXTERNAL_STORAGE
WRITE_EXTERNAL_STORAGE
这篇关于应用程序的“身份"权限在哪里?在Android棉花糖中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!