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
8f04d36f
authored
May 26, 2021
by
aquilescanta
Committed by
Oliver Woodman
May 27, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Inline redundant constructor
PiperOrigin-RevId: 376005620
parent
85e4137b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/CastTimeline.java
extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/CastTimeline.java
View file @
8f04d36f
...
@@ -31,7 +31,11 @@ import java.util.Arrays;
...
@@ -31,7 +31,11 @@ import java.util.Arrays;
public
static
final
class
ItemData
{
public
static
final
class
ItemData
{
/** Holds no media information. */
/** Holds no media information. */
public
static
final
ItemData
EMPTY
=
new
ItemData
();
public
static
final
ItemData
EMPTY
=
new
ItemData
(
/* durationUs= */
C
.
TIME_UNSET
,
/* defaultPositionUs= */
C
.
TIME_UNSET
,
/* isLive= */
false
);
/** The duration of the item in microseconds, or {@link C#TIME_UNSET} if unknown. */
/** The duration of the item in microseconds, or {@link C#TIME_UNSET} if unknown. */
public
final
long
durationUs
;
public
final
long
durationUs
;
...
@@ -42,13 +46,6 @@ import java.util.Arrays;
...
@@ -42,13 +46,6 @@ import java.util.Arrays;
/** Whether the item is live content, or {@code false} if unknown. */
/** Whether the item is live content, or {@code false} if unknown. */
public
final
boolean
isLive
;
public
final
boolean
isLive
;
private
ItemData
()
{
this
(
/* durationUs= */
C
.
TIME_UNSET
,
/* defaultPositionUs= */
C
.
TIME_UNSET
,
/* isLive= */
false
);
}
/**
/**
* Creates an instance.
* Creates an instance.
*
*
...
...
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