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)).
|
||||
* Fix crash downloading HLS media playlists
|
||||
([#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
|
||||
([#4292](https://github.com/google/ExoPlayer/issues/4292)).
|
||||
* Allow apps to register custom MIME types
|
||||
|
@ -129,11 +129,11 @@ public final class CacheUtil {
|
||||
cache,
|
||||
new CacheDataSource(cache, upstream),
|
||||
new byte[DEFAULT_BUFFER_SIZE_BYTES],
|
||||
null,
|
||||
0,
|
||||
/* priorityTaskManager= */ null,
|
||||
/* priority= */ 0,
|
||||
counters,
|
||||
null,
|
||||
false);
|
||||
isCanceled,
|
||||
/* enableEOFException= */ false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user