TIF: specify that selection is not allowed in CONTENT_URI

Test: build
Bug: 36788441
Change-Id: Iddca6d6d2083aa0e6d12d896787c0a91d200c56d
This commit is contained in:
Dongwon Kang
2017-04-24 17:21:43 -07:00
parent c2d54af521
commit c51b95471c

View File

@@ -1613,7 +1613,12 @@ public final class TvContract {
/** Column definitions for the TV channels table. */
public static final class Channels implements BaseTvColumns {
/** The content:// style URI for this table. */
/**
* The content:// style URI for this table.
*
* <p>SQL selection is not supported for {@link ContentResolver#query},
* {@link ContentResolver#update} and {@link ContentResolver#delete} operations.
*/
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/"
+ PATH_CHANNEL);
@@ -2412,7 +2417,12 @@ public final class TvContract {
*/
public static final class Programs implements BaseTvColumns, ProgramColumns {
/** The content:// style URI for this table. */
/**
* The content:// style URI for this table.
*
* <p>SQL selection is not supported for {@link ContentResolver#query},
* {@link ContentResolver#update} and {@link ContentResolver#delete} operations.
*/
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/"
+ PATH_PROGRAM);
@@ -2726,7 +2736,12 @@ public final class TvContract {
*/
public static final class RecordedPrograms implements BaseTvColumns, ProgramColumns {
/** The content:// style URI for this table. */
/**
* The content:// style URI for this table.
*
* <p>SQL selection is not supported for {@link ContentResolver#query},
* {@link ContentResolver#update} and {@link ContentResolver#delete} operations.
*/
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/"
+ PATH_RECORDED_PROGRAM);
@@ -2849,7 +2864,12 @@ public final class TvContract {
public static final class PreviewPrograms implements BaseTvColumns, ProgramColumns,
PreviewProgramColumns {
/** The content:// style URI for this table. */
/**
* The content:// style URI for this table.
*
* <p>SQL selection is not supported for {@link ContentResolver#query},
* {@link ContentResolver#update} and {@link ContentResolver#delete} operations.
*/
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/"
+ PATH_PREVIEW_PROGRAM);
@@ -2896,7 +2916,12 @@ public final class TvContract {
public static final class WatchNextPrograms implements BaseTvColumns, ProgramColumns,
PreviewProgramColumns {
/** The content:// style URI for this table. */
/**
* The content:// style URI for this table.
*
* <p>SQL selection is not supported for {@link ContentResolver#query},
* {@link ContentResolver#update} and {@link ContentResolver#delete} operations.
*/
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/"
+ PATH_WATCH_NEXT_PROGRAM);