mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08:00
Fix download cancellation
Issue: #4403 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201525284
This commit is contained in:
parent
b7d149604e
commit
680d3fda3e
@ -16,6 +16,8 @@
|
|||||||
([#3906](https://github.com/google/ExoPlayer/issues/3906)).
|
([#3906](https://github.com/google/ExoPlayer/issues/3906)).
|
||||||
* Fix crash downloading HLS media playlists
|
* Fix crash downloading HLS media playlists
|
||||||
([#4396](https://github.com/google/ExoPlayer/issues/4396)).
|
([#4396](https://github.com/google/ExoPlayer/issues/4396)).
|
||||||
|
* Fix a bug where download cancellation was ignored
|
||||||
|
([#4403](https://github.com/google/ExoPlayer/issues/4403)).
|
||||||
* Set `METADATA_KEY_TITLE` on media descriptions
|
* Set `METADATA_KEY_TITLE` on media descriptions
|
||||||
([#4292](https://github.com/google/ExoPlayer/issues/4292)).
|
([#4292](https://github.com/google/ExoPlayer/issues/4292)).
|
||||||
* Allow apps to register custom MIME types
|
* Allow apps to register custom MIME types
|
||||||
|
@ -129,11 +129,11 @@ public final class CacheUtil {
|
|||||||
cache,
|
cache,
|
||||||
new CacheDataSource(cache, upstream),
|
new CacheDataSource(cache, upstream),
|
||||||
new byte[DEFAULT_BUFFER_SIZE_BYTES],
|
new byte[DEFAULT_BUFFER_SIZE_BYTES],
|
||||||
null,
|
/* priorityTaskManager= */ null,
|
||||||
0,
|
/* priority= */ 0,
|
||||||
counters,
|
counters,
|
||||||
null,
|
isCanceled,
|
||||||
false);
|
/* enableEOFException= */ false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user