From c94bce17b4d8c39046d81c7ec4aa16a9a8f43b75 Mon Sep 17 00:00:00 2001 From: olly Date: Sun, 16 Jul 2017 05:14:19 +0100 Subject: [PATCH] Make data sources private in SegmentDownloader Also fix SegmentDownloader.remove to not return early ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=165295432 --- .../com/google/android/exoplayer2/source/dash/DashUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashUtil.java b/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashUtil.java index 83cb10b99c..59fbfb18fe 100644 --- a/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashUtil.java +++ b/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashUtil.java @@ -111,7 +111,8 @@ public final class DashUtil { * * @param dataSource The source from which the data should be loaded. * @param representation The representation which initialization chunk belongs to. - * @return {@link ChunkIndex} of the given representation. + * @return The {@link ChunkIndex} of the given representation, or null if no initialization or + * index data exists. * @throws IOException Thrown when there is an error while loading. * @throws InterruptedException Thrown if the thread was interrupted. */