Remove deprecated Timeline.getWindow method
PiperOrigin-RevId: 373126944
This commit is contained in:
parent
508c6652ba
commit
b95fba2cb7
@ -28,6 +28,8 @@
|
|||||||
`setUsePreviousAction`, `setUseNextActionInCompactView` and
|
`setUsePreviousAction`, `setUseNextActionInCompactView` and
|
||||||
`setUsePreviousActionInCompactView` instead.
|
`setUsePreviousActionInCompactView` instead.
|
||||||
* Remove `Format.create` methods. Use `Format.Builder` 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
|
* Remove `CastPlayer` specific playlist manipulation methods. Use
|
||||||
`setMediaItems`, `addMediaItems`, `removeMediaItem` and `moveMediaItem`
|
`setMediaItems`, `addMediaItems`, `removeMediaItem` and `moveMediaItem`
|
||||||
instead.
|
instead.
|
||||||
|
@ -1042,12 +1042,6 @@ public abstract class Timeline implements Bundleable {
|
|||||||
return getWindow(windowIndex, window, /* defaultPositionProjectionUs= */ 0);
|
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.
|
* Populates a {@link Window} with data for the window at the specified index.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user