You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.A provider's application can specify permissions that other applications must have in order to access the provider's data
2. However, components in the provider's application always have full read and write access, regardless of the specified permissions.
如定义权限如下:
定义provider如下:
那么在当前应用的Activity中不需要添加如下权限,也可以调用provider的query方法。
尽管Activity和provide不是同一进程,但是同一应用,同一应用就可以忽略provider的permission,是否如此?
The text was updated successfully, but these errors were encountered: