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
5a2e04ec
authored
Jul 14, 2020
by
ibaker
Committed by
Oliver Woodman
Jul 24, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Migrate usages of deprecated SinglePeriodTimeline constructor
PiperOrigin-RevId: 321168965
parent
8eb2354e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
library/core/src/test/java/com/google/android/exoplayer2/source/SinglePeriodTimelineTest.java
library/core/src/test/java/com/google/android/exoplayer2/source/SinglePeriodTimelineTest.java
View file @
5a2e04ec
...
...
@@ -97,7 +97,7 @@ public final class SinglePeriodTimelineTest {
/* isDynamic= */
false
,
/* isLive= */
false
,
/* manifest= */
null
,
/* tag= */
(
Object
)
null
);
new
MediaItem
.
Builder
().
setUri
(
Uri
.
EMPTY
).
setTag
(
null
).
build
()
);
assertThat
(
timeline
.
getWindow
(
/* windowIndex= */
0
,
window
).
tag
).
isNull
();
assertThat
(
timeline
.
getPeriod
(
/* periodIndex= */
0
,
period
,
/* setIds= */
false
).
id
).
isNull
();
...
...
@@ -117,7 +117,7 @@ public final class SinglePeriodTimelineTest {
/* isDynamic= */
false
,
/* isLive= */
false
,
/* manifest= */
null
,
tag
);
new
MediaItem
.
Builder
().
setUri
(
Uri
.
EMPTY
).
setTag
(
tag
).
build
()
);
assertThat
(
timeline
.
getWindow
(
/* windowIndex= */
0
,
window
).
tag
).
isEqualTo
(
tag
);
}
...
...
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