Skip to content

Commit

Permalink
Fix download cancellation
Browse files Browse the repository at this point in the history
Issue: #4403

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=201525284
  • Loading branch information
andrewlewis authored and ojw28 committed Jun 22, 2018
1 parent 1069063 commit a610857
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
CommentFrame to InternalFrame for frames with gapless metadata in MP4.
* Allow setting the `Looper`, which is used to access the player, in
`ExoPlayerFactory` ([#4278](https://github.com/google/ExoPlayer/issues/4278)).
* Fix a bug where download cancellation was ignored
([#4403](https://github.com/google/ExoPlayer/issues/4403)).

### 2.8.2 ###

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ public static void cache(
cache,
new CacheDataSource(cache, upstream),
new byte[DEFAULT_BUFFER_SIZE_BYTES],
null,
0,
/* priorityTaskManager= */ null,
/* priority= */ 0,
counters,
null,
false);
isCanceled,
/* enableEOFException= */ false);
}

/**
Expand Down

0 comments on commit a610857

Please sign in to comment.