am 6185858b: Merge "TIF: Add COLUMN_SEARCHABLE to TvContract.Programs" into mnc-dev

* commit '6185858bd9fe5a6f2e6e5e06938ab9ba55bf8389':
  TIF: Add COLUMN_SEARCHABLE to TvContract.Programs
This commit is contained in:
Jae Seo
2015-06-21 20:57:56 +00:00
committed by Android Git Automerger
3 changed files with 28 additions and 10 deletions

View File

@@ -17784,6 +17784,7 @@ package android.media.tv {
field public static final java.lang.String COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4"; field public static final java.lang.String COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4";
field public static final java.lang.String COLUMN_LONG_DESCRIPTION = "long_description"; field public static final java.lang.String COLUMN_LONG_DESCRIPTION = "long_description";
field public static final java.lang.String COLUMN_POSTER_ART_URI = "poster_art_uri"; field public static final java.lang.String COLUMN_POSTER_ART_URI = "poster_art_uri";
field public static final java.lang.String COLUMN_SEARCHABLE = "searchable";
field public static final java.lang.String COLUMN_SEASON_NUMBER = "season_number"; field public static final java.lang.String COLUMN_SEASON_NUMBER = "season_number";
field public static final java.lang.String COLUMN_SHORT_DESCRIPTION = "short_description"; field public static final java.lang.String COLUMN_SHORT_DESCRIPTION = "short_description";
field public static final java.lang.String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis"; field public static final java.lang.String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis";

View File

@@ -19123,6 +19123,7 @@ package android.media.tv {
field public static final java.lang.String COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4"; field public static final java.lang.String COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4";
field public static final java.lang.String COLUMN_LONG_DESCRIPTION = "long_description"; field public static final java.lang.String COLUMN_LONG_DESCRIPTION = "long_description";
field public static final java.lang.String COLUMN_POSTER_ART_URI = "poster_art_uri"; field public static final java.lang.String COLUMN_POSTER_ART_URI = "poster_art_uri";
field public static final java.lang.String COLUMN_SEARCHABLE = "searchable";
field public static final java.lang.String COLUMN_SEASON_NUMBER = "season_number"; field public static final java.lang.String COLUMN_SEASON_NUMBER = "season_number";
field public static final java.lang.String COLUMN_SHORT_DESCRIPTION = "short_description"; field public static final java.lang.String COLUMN_SHORT_DESCRIPTION = "short_description";
field public static final java.lang.String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis"; field public static final java.lang.String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis";

View File

@@ -332,11 +332,11 @@ public final class TvContract {
*/ */
public interface BaseTvColumns extends BaseColumns { public interface BaseTvColumns extends BaseColumns {
/** /**
* The name of the package that owns a row in each table. * The name of the package that owns the current row.
* *
* <p>The TV provider fills it in with the name of the package that provides the initial data * <p>The TV provider fills in this column with the name of the package that provides the
* of that row. If the package is later uninstalled, the rows it owns are automatically * initial data of the row. If the package is later uninstalled, the rows it owns are
* removed from the tables. * automatically removed from the tables.
* *
* <p>Type: TEXT * <p>Type: TEXT
*/ */
@@ -680,12 +680,13 @@ public final class TvContract {
/** /**
* The flag indicating whether this TV channel is searchable or not. * The flag indicating whether this TV channel is searchable or not.
* *
* <p>In some regions, it is not allowed to surface search results for a given channel * <p>The columns of searchable channels can be read by other applications that have proper
* without broadcaster's consent. This is used to impose such restriction. Channels marked * permission. Care must be taken not to open sensitive data.
* with "not searchable" cannot be used by other services except for the system service that *
* shows the TV content. A value of 1 indicates the channel is searchable and can be * <p>A value of 1 indicates that the channel is searchable and its columns can be read by
* included in search results, a value of 0 indicates the channel and its TV programs are * other applications, a value of 0 indicates that the channel is hidden and its columns can
* hidden from search. If not specified, this value is set to 1 (searchable) by default. * be read only by the package that owns the channel and the system. If not specified, this
* value is set to 1 (searchable) by default.
* *
* <p>Type: INTEGER (boolean) * <p>Type: INTEGER (boolean)
*/ */
@@ -1010,6 +1011,21 @@ public final class TvContract {
*/ */
public static final String COLUMN_THUMBNAIL_URI = "thumbnail_uri"; public static final String COLUMN_THUMBNAIL_URI = "thumbnail_uri";
/**
* The flag indicating whether this TV program is searchable or not.
*
* <p>The columns of searchable programs can be read by other applications that have proper
* permission. Care must be taken not to open sensitive data.
*
* <p>A value of 1 indicates that the program is searchable and its columns can be read by
* other applications, a value of 0 indicates that the program is hidden and its columns can
* be read only by the package that owns the program and the system. If not specified, this
* value is set to 1 (searchable) by default.
*
* <p>Type: INTEGER (boolean)
*/
public static final String COLUMN_SEARCHABLE = "searchable";
/** /**
* Internal data used by individual TV input services. * Internal data used by individual TV input services.
* *