summaryrefslogtreecommitdiffstats
path: root/media/java/android
diff options
context:
space:
mode:
authorJae Seo <jaeseo@google.com>2015-06-23 01:39:18 -0700
committerJae Seo <jaeseo@google.com>2015-06-23 11:27:09 -0700
commit361282100363496be2ed004d2484fab0ef288e83 (patch)
tree81e533cb8d4d5af9cb9fdbe2fe23e5d3be768eb1 /media/java/android
parent8a4014d2a4e88b93a7a56a9e062a8b748208bd11 (diff)
downloadframeworks_base-361282100363496be2ed004d2484fab0ef288e83.zip
frameworks_base-361282100363496be2ed004d2484fab0ef288e83.tar.gz
frameworks_base-361282100363496be2ed004d2484fab0ef288e83.tar.bz2
TIF: Add more description to the poster art and thumbnail columns
Bug: 21971851 Change-Id: Ibffc42060281d1a9fe1bd83b24f33c6ac19d0afa
Diffstat (limited to 'media/java/android')
-rw-r--r--media/java/android/media/tv/TvContract.java29
1 files changed, 26 insertions, 3 deletions
diff --git a/media/java/android/media/tv/TvContract.java b/media/java/android/media/tv/TvContract.java
index da5f33e..7cd086e 100644
--- a/media/java/android/media/tv/TvContract.java
+++ b/media/java/android/media/tv/TvContract.java
@@ -710,7 +710,7 @@ public final class TvContract {
public static final String COLUMN_LOCKED = "locked";
/**
- * The app badge icon of the app link template for this channel.
+ * The URI for the app badge icon of the app link template for this channel.
*
* <p>This small icon is overlaid at the bottom of the poster art specified by
* {@link #COLUMN_APP_LINK_POSTER_ART_URI}. The data in the column must be a URI in one of
@@ -736,9 +736,10 @@ public final class TvContract {
public static final String COLUMN_APP_LINK_ICON_URI = "app_link_icon_uri";
/**
- * The poster art used as the background of the app link template for this channel.
+ * The URI for the poster art used as the background of the app link template for this
+ * channel.
*
- * <p>The data in the column must be a URL or a URI in one of the following formats:
+ * <p>The data in the column must be a URL, or a URI in one of the following formats:
*
* <ul>
* <li>content ({@link android.content.ContentResolver#SCHEME_CONTENT})</li>
@@ -1100,6 +1101,15 @@ public final class TvContract {
/**
* The URI for the poster art of this TV program.
*
+ * <p>The data in the column must be a URL, or a URI in one of the following formats:
+ *
+ * <ul>
+ * <li>content ({@link android.content.ContentResolver#SCHEME_CONTENT})</li>
+ * <li>android.resource ({@link android.content.ContentResolver#SCHEME_ANDROID_RESOURCE})
+ * </li>
+ * <li>file ({@link android.content.ContentResolver#SCHEME_FILE})</li>
+ * </ul>
+ *
* <p>Can be empty.
*
* <p>Type: TEXT
@@ -1109,6 +1119,19 @@ public final class TvContract {
/**
* The URI for the thumbnail of this TV program.
*
+ * <p>The system can generate a thumbnail from the poster art if this column is not
+ * specified. Thus it is not necessary for TV input services to include a thumbnail if it is
+ * just a scaled image of the poster art.
+ *
+ * <p>The data in the column must be a URL, or a URI in one of the following formats:
+ *
+ * <ul>
+ * <li>content ({@link android.content.ContentResolver#SCHEME_CONTENT})</li>
+ * <li>android.resource ({@link android.content.ContentResolver#SCHEME_ANDROID_RESOURCE})
+ * </li>
+ * <li>file ({@link android.content.ContentResolver#SCHEME_FILE})</li>
+ * </ul>
+ *
* <p>Can be empty.
*
* <p>Type: TEXT