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:
olly 2019-08-23 09:57:26 +01:00 committed by Oliver Woodman
parent 886fe910a8
commit 7cefb56eda

View File

@ -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
* 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