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
b95fba2c
authored
May 11, 2021
by
olly
Committed by
kim-vde
May 11, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove deprecated Timeline.getWindow method
PiperOrigin-RevId: 373126944
parent
508c6652
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
RELEASENOTES.md
library/common/src/main/java/com/google/android/exoplayer2/Timeline.java
RELEASENOTES.md
View file @
b95fba2c
...
...
@@ -28,6 +28,8 @@
`setUsePreviousAction`
,
`setUseNextActionInCompactView`
and
`setUsePreviousActionInCompactView`
instead.
*
Remove
`Format.create`
methods. Use
`Format.Builder`
instead.
*
Remove
`Timeline.getWindow(int, Window, boolean)`
. Use
`Timeline.getWindow(int, Window)`
instead, which will always set tags.
*
Remove
`CastPlayer`
specific playlist manipulation methods. Use
`setMediaItems`
,
`addMediaItems`
,
`removeMediaItem`
and
`moveMediaItem`
instead.
...
...
library/common/src/main/java/com/google/android/exoplayer2/Timeline.java
View file @
b95fba2c
...
...
@@ -1042,12 +1042,6 @@ public abstract class Timeline implements Bundleable {
return
getWindow
(
windowIndex
,
window
,
/* defaultPositionProjectionUs= */
0
);
}
/** @deprecated Use {@link #getWindow(int, Window)} instead. Tags will always be set. */
@Deprecated
public
final
Window
getWindow
(
int
windowIndex
,
Window
window
,
boolean
setTag
)
{
return
getWindow
(
windowIndex
,
window
,
/* defaultPositionProjectionUs= */
0
);
}
/**
* Populates a {@link Window} with data for the window at the specified index.
*
...
...
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