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
abaf1e10
authored
Feb 15, 2021
by
olly
Committed by
kim-vde
Feb 19, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Respectful language cleanup
PiperOrigin-RevId: 357587009
parent
7f5b5c9b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
library/core/src/main/java/com/google/android/exoplayer2/upstream/Loader.java
library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndex.java
library/core/src/main/java/com/google/android/exoplayer2/upstream/Loader.java
View file @
abaf1e10
...
...
@@ -448,9 +448,9 @@ public final class Loader implements LoaderErrorThrower {
obtainMessage
(
MSG_IO_EXCEPTION
,
new
UnexpectedLoaderException
(
e
)).
sendToTarget
();
}
}
catch
(
Error
e
)
{
// We'd hope that the platform would
kill the process if an Error is thrown here, but the
//
executor may catch the error (b/20616433). Throw it here, but also pass and throw it from
//
the handler thread so that
the process dies even if the executor behaves in this way.
// We'd hope that the platform would
shut down the process if an Error is thrown here, but
//
the executor may catch the error (b/20616433). Throw it here, but also pass and throw it
//
from the handler thread so
the process dies even if the executor behaves in this way.
Log
.
e
(
TAG
,
"Unexpected error loading stream"
,
e
);
if
(!
released
)
{
obtainMessage
(
MSG_FATAL_ERROR
,
e
).
sendToTarget
();
...
...
library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndex.java
View file @
abaf1e10
...
...
@@ -82,7 +82,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
*
* <p>[1] (key1, id1) is removed from the in-memory index ... the index is not stored to disk ...
* [2] id1 is reused for a different key2 ... the index is not stored to disk ... [3] A file for
* key2 is partially written using a path corresponding to id1 ... the process is
killed
before
* key2 is partially written using a path corresponding to id1 ... the process is
shut down
before
* the index is stored to disk ... [4] The index is read from disk, causing the partially written
* file to be incorrectly associated to key1
*
...
...
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