Commit b95fba2c by olly Committed by kim-vde

Remove deprecated Timeline.getWindow method

PiperOrigin-RevId: 373126944
parent 508c6652
...@@ -28,6 +28,8 @@ ...@@ -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 { ...@@ -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.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment