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
e803bff2
authored
Dec 01, 2016
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Don't log FileNotFoundException while reading cache index file
parent
0cc874dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
library/src/main/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndex.java
library/src/main/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndex.java
View file @
e803bff2
...
...
@@ -27,6 +27,7 @@ import java.io.BufferedInputStream;
import
java.io.DataInputStream
;
import
java.io.DataOutputStream
;
import
java.io.File
;
import
java.io.FileNotFoundException
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.OutputStream
;
...
...
@@ -251,6 +252,8 @@ import javax.crypto.spec.SecretKeySpec;
if
(
input
.
readInt
()
!=
hashCode
)
{
return
false
;
}
}
catch
(
FileNotFoundException
e
)
{
return
false
;
}
catch
(
IOException
e
)
{
Log
.
e
(
TAG
,
"Error reading cache content index file."
,
e
);
return
false
;
...
...
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