Android custom permissions - Marshmallow

后端 未结 5 1968
失恋的感觉
失恋的感觉 2021-02-01 15:43

Background

Historically, Android Custom permissions have been a mess and were install order dependent, which was known to expose vulnerabilities.

Prior

5条回答
  •  一向
    一向 (楼主)
    2021-02-01 16:23

    I don't think it's completely true that a declared custom permission will not be automatically granted to the application. For when the custom permission has the protection level "normal" or "signature", then the permission is granted at install time. Otherwise, if the protection level is "dangerous", then it is a runtime permission and it works just like other dangerous permissions: you will need to prompt the user to grant the permission to the application.

提交回复
热议问题