mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00
Use -Float.MAX_VALUE for Cue#DIMEN_UNSET
Float.MIN_VALUE is very close to zero: PiperOrigin-RevId: 276674142
This commit is contained in:
parent
6aa792aad5
commit
6788a830da
@ -32,7 +32,8 @@ public class Cue {
|
||||
public static final Cue EMPTY = new Cue("");
|
||||
|
||||
/** An unset position or width. */
|
||||
public static final float DIMEN_UNSET = Float.MIN_VALUE;
|
||||
// Note: We deliberately don't use Float.MIN_VALUE because it's positive & very close to zero.
|
||||
public static final float DIMEN_UNSET = -Float.MAX_VALUE;
|
||||
|
||||
/**
|
||||
* The type of anchor, which may be unset. One of {@link #TYPE_UNSET}, {@link #ANCHOR_TYPE_START},
|
||||
|
Loading…
x
Reference in New Issue
Block a user