mirror of
https://github.com/androidx/media.git
synced 2025-05-17 12:39:52 +08:00
Update comment to indicate correct int value of "FLAG_ALLOW_CACHE_FRAGMENTATION" in ExoPlayer2 upstream DataSpec
Currently the value of FLAG_ALLOW_CACHE_FRAGMENTATION is defined as "1 << 4" but commented as "8". Either the value of FLAG_ALLOW_CACHE_FRAGMENTATION should be "1 << 3", or the comment should be 16. Here I am modifying the comment since it does not affect any current behavior. PiperOrigin-RevId: 265011839
This commit is contained in:
parent
886fe910a8
commit
7cefb56eda
@ -68,7 +68,7 @@ public final class DataSpec {
|
|||||||
* setting this flag may also enable more concurrent access to the data (e.g. reading one fragment
|
* setting this flag may also enable more concurrent access to the data (e.g. reading one fragment
|
||||||
* whilst writing another).
|
* whilst writing another).
|
||||||
*/
|
*/
|
||||||
public static final int FLAG_ALLOW_CACHE_FRAGMENTATION = 1 << 4; // 8
|
public static final int FLAG_ALLOW_CACHE_FRAGMENTATION = 1 << 4; // 16
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The set of HTTP methods that are supported by ExoPlayer {@link HttpDataSource}s. One of {@link
|
* The set of HTTP methods that are supported by ExoPlayer {@link HttpDataSource}s. One of {@link
|
||||||
|
Loading…
x
Reference in New Issue
Block a user