sanders: LineageActions: add Settings search indexing

Allows Settings to search for options provided by this package.

Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
This commit is contained in:
Roman Birg
2016-08-10 16:38:13 -07:00
committed by therootlord
parent 6da473545a
commit 6fbc28026a
5 changed files with 192 additions and 0 deletions

View File

@@ -24,6 +24,18 @@
android:icon="@drawable/ic_gesture"
android:persistent="true">
<provider
android:name=".LineageActionsSearchIndexablesProvider"
android:authorities="org.lineageos.settings.device"
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>
<receiver android:name="org.lineageos.settings.device.BootCompletedReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />