Open qingfengmy opened 8 years ago
1.A provider's application can specify permissions that other applications must have in order to access the provider's data
from : https://developer.android.com/guide/topics/providers/content-provider-basics.html#Permissions
如定义权限如下:
定义provider如下:
那么在当前应用的Activity中不需要添加如下权限,也可以调用provider的query方法。
尽管Activity和provide不是同一进程,但是同一应用,同一应用就可以忽略provider的permission,是否如此?