diff options
| author | 2017-04-24 15:30:52 -0700 | |
|---|---|---|
| committer | 2017-04-24 16:17:52 -0700 | |
| commit | 0dfc8e46ff8daef1ad6685cf1027ce73600b0ae2 (patch) | |
| tree | a1dc30e055199363148ea6d3960075011915623c | |
| parent | c2d54af521f84cba3d1651087680d885fde4e254 (diff) | |
TIF: fix documentation in TvContract
This fixes wrong documentation on the following fields:
PreviewPrograms|WatchNextPrograms.COLUMN_LAST_PLAYBACK_POSITION_MILLIS
PreviewPrograms|WatchNextPrograms.COLUMN_DURATION_MILLIS
Test: build
Bug: 37624075
Change-Id: Iad98ebeac713a034bbca9a31113c0da9bbd39832
| -rw-r--r-- | media/java/android/media/tv/TvContract.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/media/java/android/media/tv/TvContract.java b/media/java/android/media/tv/TvContract.java index 71f9ba257aa3..63b7340296fe 100644 --- a/media/java/android/media/tv/TvContract.java +++ b/media/java/android/media/tv/TvContract.java @@ -1480,8 +1480,7 @@ public final class TvContract { /** * The URI for the preview video. * - * <p>This is only relevant to {@link Channels#TYPE_PREVIEW}. 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> @@ -1497,9 +1496,8 @@ public final class TvContract { String COLUMN_PREVIEW_VIDEO_URI = "preview_video_uri"; /** - * The last playback position (in milliseconds) of the preview video. - * - * <p>This is only relevant to {@link Channels#TYPE_PREVIEW}. + * The last playback position (in milliseconds) of the original content of this preview + * program. * * <p>Can be empty. * @@ -1509,9 +1507,7 @@ public final class TvContract { "last_playback_position_millis"; /** - * The duration (in milliseconds) of the preview video. - * - * <p>This is only relevant to {@link Channels#TYPE_PREVIEW}. + * The duration (in milliseconds) of the original content of this preview program. * * <p>Can be empty. * |