aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2017-03-14 09:06:02 -0700
committerChad Brubaker <cbrubaker@google.com>2017-03-14 09:06:02 -0700
commitf75badc7bbf7f281b019bb5bca1fb3b3ad3f8abb (patch)
tree9e13d86343f2a2a9879de26ab163e61b21da5321
parenteef9ef50ecefc5bb91728c94627068916311311a (diff)
downloadContactsProvider-f75badc7bbf7f281b019bb5bca1fb3b3ad3f8abb.tar.gz
Expose contacts provider to Instant Apps
Instant Apps cannot get the permissions that grant raw access to the provider but can get granted access to specific contact URIs via the contact picker. Test: Provider limiting is not currently functional Change-Id: Ia282cb7c3411c2506219122f4b62f9abe4804124
-rw-r--r--AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d89e7f6f..aa1c396f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -34,7 +34,8 @@
android:exported="true"
android:grantUriPermissions="true"
android:readPermission="android.permission.READ_CONTACTS"
- android:writePermission="android.permission.WRITE_CONTACTS">
+ android:writePermission="android.permission.WRITE_CONTACTS"
+ android:visibleToInstantApps="true">
<path-permission
android:pathPrefix="/search_suggest_query"
android:readPermission="android.permission.GLOBAL_SEARCH" />