Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a944b5cc
authored
Apr 09, 2020
by
nebyan
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
CacheKeyFactory is not used.
parent
c84ac809
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/CacheUtil.java
library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/CacheUtil.java
View file @
a944b5cc
...
@@ -109,7 +109,6 @@ public final class CacheUtil {
...
@@ -109,7 +109,6 @@ public final class CacheUtil {
*
*
* @param dataSpec Defines the data to be cached.
* @param dataSpec Defines the data to be cached.
* @param cache A {@link Cache} to store the data.
* @param cache A {@link Cache} to store the data.
* @param cacheKeyFactory An optional factory for cache keys.
* @param upstream A {@link DataSource} for reading data not in the cache.
* @param upstream A {@link DataSource} for reading data not in the cache.
* @param progressListener A listener to receive progress updates, or {@code null}.
* @param progressListener A listener to receive progress updates, or {@code null}.
* @param isCanceled An optional flag that will interrupt caching if set to true.
* @param isCanceled An optional flag that will interrupt caching if set to true.
...
@@ -120,7 +119,6 @@ public final class CacheUtil {
...
@@ -120,7 +119,6 @@ public final class CacheUtil {
public
static
void
cache
(
public
static
void
cache
(
DataSpec
dataSpec
,
DataSpec
dataSpec
,
Cache
cache
,
Cache
cache
,
@Nullable
CacheKeyFactory
cacheKeyFactory
,
DataSource
upstream
,
DataSource
upstream
,
@Nullable
ProgressListener
progressListener
,
@Nullable
ProgressListener
progressListener
,
@Nullable
AtomicBoolean
isCanceled
)
@Nullable
AtomicBoolean
isCanceled
)
...
@@ -128,7 +126,7 @@ public final class CacheUtil {
...
@@ -128,7 +126,7 @@ public final class CacheUtil {
cache
(
cache
(
dataSpec
,
dataSpec
,
cache
,
cache
,
cacheKeyFactory
,
null
,
new
CacheDataSource
(
cache
,
upstream
),
new
CacheDataSource
(
cache
,
upstream
),
new
byte
[
DEFAULT_BUFFER_SIZE_BYTES
],
new
byte
[
DEFAULT_BUFFER_SIZE_BYTES
],
/* priorityTaskManager= */
null
,
/* priorityTaskManager= */
null
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment