Add indexing for Settings (Part 1)
- implement PhoneSearchIndexablesProvider as a SearchIndexablesProvider
- update the AndroidManifest for publishing the new provider
- protect access thru using android.permission.READ_SEARCH_INDEXABLES
Some other CLs will need to be done to define the data to be indexed
thru PhoneIndexablesProvider
Change-Id: I687c35be0e5523b8770524c108f27dbd3fa825de
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 93320f7..6d1a716 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -550,5 +550,17 @@
<!-- service to dump telephony information -->
<service android:name="HfaService" android:exported="false"/>
+ <provider
+ android:name="PhoneSearchIndexablesProvider"
+ android:authorities="com.android.phone"
+ android:multiprocess="false"
+ android:grantUriPermissions="true"
+ android:permission="android.permission.READ_SEARCH_INDEXABLES"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
+ </intent-filter>
+ </provider>
+
</application>
</manifest>