简体   繁体   English

Android marshmallow中“身份”的App权限在哪里

[英]Where is the App permission for “identity” in android marshmallow

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. 我正在尝试使用Android Studio附带的模拟器,以查看用户可以从此设备启用/禁用的权限。

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 ? 或者只是它不会出现在模拟器中,除非您创建一个请求身份的应用程序?

If you are using an API 23 emulator, the grouping of Android permissions has changed for the new runtime permissions model . 如果您使用的是API 23仿真程序,则新的运行时权限模型的Android权限分组已更改。 The full list of dangerous permissions and their associated groups can be found on this table . 可以在此表中找到危险权限及其关联组的完整列表。

You'll note that most of the permissions in the old Identity bucket have either been removed entirely or moved to the 'Contacts' group (as is the case for GET_ACCOUNTS ). 您会注意到旧身份存储桶中的大多数权限已被完全删除或移动到“联系人”组(如GET_ACCOUNTS的情况)。

Only "dangerous" permissions need to be requested from user in Android 6.0. 在Android 6.0中,只需要用户请求“危险”权限。 Others are granted automatically when they are declared in the manifest. 其他人在清单中声明时自动被授予。

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: 危险权限列表可以在这里找到: http//developer.android.com/guide/topics/security/permissions.html#normal-dangerous - 它们分为几组,分别是:

CALENDAR 日历

 READ_CALENDAR WRITE_CALENDAR 

CAMERA 相机

 CAMERA 

CONTACTS 联系

 READ_CONTACTS WRITE_CONTACTS GET_ACCOUNTS 

LOCATION 地点

 ACCESS_FINE_LOCATION ACCESS_COARSE_LOCATION 

MICROPHONE 麦克风

 RECORD_AUDIO 

PHONE 电话

 READ_PHONE_STATE CALL_PHONE READ_CALL_LOG WRITE_CALL_LOG ADD_VOICEMAIL USE_SIP PROCESS_OUTGOING_CALLS 

SENSORS 传感器

 BODY_SENSORS 

SMS 短信

 SEND_SMS RECEIVE_SMS READ_SMS RECEIVE_WAP_PUSH RECEIVE_MMS 

STORAGE 存储

 READ_EXTERNAL_STORAGE WRITE_EXTERNAL_STORAGE 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM