将此视为 wiki 问题。
当我设置我的项目以支持 Map V2 时,有一个步骤可以添加 MAPS_RECEIVE 权限。
<permission
android:name="com.example.mapdemo.permission.MAPS_RECEIVE"
android:protectionLevel="signature"/>
<uses-permission android:name="com.example.mapdemo.permission.MAPS_RECEIVE"/>
我们为什么要创建和使用来自应用程序本身的权限?
该 google play services 应用是否使用此权限进行交互?
这个权限不能处理这些事情吗?
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
我认为使用自定义权限是为了允许其他应用启动/使用我们应用的服务/资源。
最佳答案
对于 future 的访客:
This permission is now completely unnecessary. The latest update of Google Play Services 3.1.59 made it useless. As a result, it can be removed.
关于Android Map V2 - 为什么需要 MAPS_RECEIVE 权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14832911/