aboutsummaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorChulwoo Lee <chulwoo@google.com>2014-05-07 16:27:30 +0900
committerChulwoo Lee <chulwoo@google.com>2014-05-08 15:47:36 +0900
commit63f6ab4e8240eef8b078651f2e7b3c92ff5f196b (patch)
tree54ca19d6923d6d837ab1bf202659e2a4ea160508 /AndroidManifest.xml
parentc388ef387df025ae8a66eef460f69b11d24be9d5 (diff)
downloadTV-63f6ab4e8240eef8b078651f2e7b3c92ff5f196b.tar.gz
Implement local channel & program search
Search for channels and programs can be performed from Quick Search Box and the search results are shown in the 'TV' category. Search is done for the four columns with LIKE query: - Channels.DISPLAY_NAME - Channels.DESCRIPTION - Programs.TITLE - Programs.DESCRIPTION If the result item is clicked, the related channel is aired on the TV app. Change-Id: I1d567489210f69eb0b2bec7a023e6a0566147a57
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 2377417d..9e4e0cc3 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -41,7 +41,18 @@
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.com.android.tv.channels" />
</intent-filter>
+ <intent-filter>
+ <action android:name="android.intent.action.SEARCH" />
+ </intent-filter>
<meta-data android:name="supports_leanback" android:value="true" />
+ <meta-data android:name="android.app.searchable"
+ android:resource="@xml/searchable" />
</activity>
+
+ <provider android:name="com.android.tv.search.LocalSearchProvider"
+ android:authorities="com.android.tv.search"
+ android:exported="true"
+ android:enabled="true">
+ </provider>
</application>
</manifest>