-
Fix CacheWriter to handle potential DataSink write failures · c067ee88
- If DataSource.close fails then it's unknown whether the underlying file was written to the cache. We should assume that it has not been. - Always re-query cachedBytes at the start of CacheWriter.cache, since its current value may be incorrect if a previous failure was the result of a file not being written to the cache. PiperOrigin-RevId: 359039109
olly committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| google/android/exoplayer2/testutil | Loading commit data... |