pull/1606/head
kunfei 3 years ago
parent 1849b6cc1b
commit 0bb17ffc82
  1. 3
      app/src/main/java/io/legado/app/help/exoplayer/OkhttpCacheDataSource.java

@ -253,6 +253,7 @@ public final class OkhttpCacheDataSource implements DataSource {
return this;
}
@NonNull
@Override
public OkhttpCacheDataSource createDataSource() {
return createDataSourceInternal(
@ -683,7 +684,6 @@ public final class OkhttpCacheDataSource implements DataSource {
}
@SuppressWarnings("NullableProblems")
@Nullable
@Override
public Uri getUri() {
@ -693,7 +693,6 @@ public final class OkhttpCacheDataSource implements DataSource {
@NonNull
@Override
public Map<String, List<String>> getResponseHeaders() {
// TODO: Implement.
return isReadingFromUpstream()
? upstreamDataSource.getResponseHeaders()
: Collections.emptyMap();

Loading…
Cancel
Save