Commit 63faf51c by samrobinson Committed by kim-vde

Change experimental method naming of setReleaseTimeoutMs.

PiperOrigin-RevId: 325795609
parent 78424efc
...@@ -227,7 +227,7 @@ public interface ExoPlayer extends Player { ...@@ -227,7 +227,7 @@ public interface ExoPlayer extends Player {
* *
* @param timeoutMs The time limit in milliseconds, or 0 for no limit. * @param timeoutMs The time limit in milliseconds, or 0 for no limit.
*/ */
public Builder experimental_setReleaseTimeoutMs(long timeoutMs) { public Builder experimentalSetReleaseTimeoutMs(long timeoutMs) {
releaseTimeoutMs = timeoutMs; releaseTimeoutMs = timeoutMs;
return this; return this;
} }
...@@ -410,7 +410,7 @@ public interface ExoPlayer extends Player { ...@@ -410,7 +410,7 @@ public interface ExoPlayer extends Player {
looper); looper);
if (releaseTimeoutMs > 0) { if (releaseTimeoutMs > 0) {
player.experimental_setReleaseTimeoutMs(releaseTimeoutMs); player.experimentalSetReleaseTimeoutMs(releaseTimeoutMs);
} }
if (!throwWhenStuckBuffering) { if (!throwWhenStuckBuffering) {
player.experimentalDisableThrowWhenStuckBuffering(); player.experimentalDisableThrowWhenStuckBuffering();
......
...@@ -195,8 +195,8 @@ import java.util.concurrent.TimeoutException; ...@@ -195,8 +195,8 @@ import java.util.concurrent.TimeoutException;
* *
* @param timeoutMs The time limit in milliseconds, or 0 for no limit. * @param timeoutMs The time limit in milliseconds, or 0 for no limit.
*/ */
public void experimental_setReleaseTimeoutMs(long timeoutMs) { public void experimentalSetReleaseTimeoutMs(long timeoutMs) {
internalPlayer.experimental_setReleaseTimeoutMs(timeoutMs); internalPlayer.experimentalSetReleaseTimeoutMs(timeoutMs);
} }
/** /**
......
...@@ -254,7 +254,7 @@ import java.util.concurrent.atomic.AtomicBoolean; ...@@ -254,7 +254,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
handler = clock.createHandler(internalPlaybackThread.getLooper(), this); handler = clock.createHandler(internalPlaybackThread.getLooper(), this);
} }
public void experimental_setReleaseTimeoutMs(long releaseTimeoutMs) { public void experimentalSetReleaseTimeoutMs(long releaseTimeoutMs) {
this.releaseTimeoutMs = releaseTimeoutMs; this.releaseTimeoutMs = releaseTimeoutMs;
} }
......
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