Remove deprecated DefaultLoadControl.Builder.createDefaultLoadControl()

Use `build()` instead.

#minor-release

PiperOrigin-RevId: 534348979
This commit is contained in:
ibaker 2023-05-23 10:14:44 +01:00 committed by tonihei
parent cad1ac2eb5
commit 594e9ac50d
2 changed files with 3 additions and 8 deletions

View File

@ -99,6 +99,9 @@
a custom `VideoFrameProcessor.Factory` during video playback. a custom `VideoFrameProcessor.Factory` during video playback.
* Remove `ExoPlayer.setHandleWakeLock(boolean)`, use `setWakeMode(int)` * Remove `ExoPlayer.setHandleWakeLock(boolean)`, use `setWakeMode(int)`
instead. instead.
* Remove deprecated
`DefaultLoadControl.Builder.createDefaultLoadControl()`, use `build()`
instead.
### 1.0.2 (2023-05-18) ### 1.0.2 (2023-05-18)

View File

@ -232,14 +232,6 @@ public class DefaultLoadControl implements LoadControl {
return this; return this;
} }
/**
* @deprecated use {@link #build} instead.
*/
@Deprecated
public DefaultLoadControl createDefaultLoadControl() {
return build();
}
/** Creates a {@link DefaultLoadControl}. */ /** Creates a {@link DefaultLoadControl}. */
public DefaultLoadControl build() { public DefaultLoadControl build() {
checkState(!buildCalled); checkState(!buildCalled);