Remove deprecated DefaultLoadControl.Builder.createDefaultLoadControl()
Use `build()` instead. #minor-release PiperOrigin-RevId: 534348979
This commit is contained in:
parent
cad1ac2eb5
commit
594e9ac50d
@ -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)
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user