commit | d3db7dca9409cb5c5601718d92f85389af032339 | [log] [tgz] |
---|---|---|
author | Gyanesh Mittal <gyaneshm@google.com> | Fri Jun 09 00:54:04 2023 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri Jun 09 00:54:04 2023 +0000 |
tree | 44653ddebf86665f0901d9addf31f6e149836bf7 | |
parent | c32739b44f1c58c05bf0cb87d3e23a9c4f338d0c [diff] [blame] |
Add SdnProvider to AOSP Contacts app Bug: 285969261 Test: Manually (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:76816ec373c902359c6fd8d5967b5b6b063d2128) Merged-In: I86aa75509ded71ed97db39c2d19ae7b3912853ea Change-Id: I86aa75509ded71ed97db39c2d19ae7b3912853ea
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index d4d3068..245cd6e 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml
@@ -630,6 +630,17 @@ android:name="android.nfc.disable_beam_default" android:value="true"/> + <provider + android:name="com.android.contacts.sdn.SdnProvider" + android:authorities="@string/contacts_sdn_provider_authority" + android:enabled="true" + android:exported="true" + android:readPermission="android.permission.BIND_DIRECTORY_SEARCH"> + <meta-data + android:name="android.content.ContactDirectory" + android:value="true" /> + </provider> + </application> <!-- Allows the contacts app to see the activities and services needed