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
20a5e468
authored
Feb 14, 2023
by
christosts
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #10959 from balachandarlinks:handle-sql-exception-in-cached-content-index
PiperOrigin-RevId: 508323432
parents
2eca2614
3c09cbd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
library/datasource/src/main/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndex.java
library/datasource/src/main/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndex.java
View file @
20a5e468
...
...
@@ -794,11 +794,15 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
@Override
public
boolean
exists
()
throws
DatabaseIOException
{
return
VersionTable
.
getVersion
(
databaseProvider
.
getReadableDatabase
(),
VersionTable
.
FEATURE_CACHE_CONTENT_METADATA
,
checkNotNull
(
hexUid
))
!=
VersionTable
.
VERSION_UNSET
;
try
{
return
VersionTable
.
getVersion
(
databaseProvider
.
getReadableDatabase
(),
VersionTable
.
FEATURE_CACHE_CONTENT_METADATA
,
checkNotNull
(
hexUid
))
!=
VersionTable
.
VERSION_UNSET
;
}
catch
(
SQLException
e
)
{
throw
new
DatabaseIOException
(
e
);
}
}
@Override
...
...
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