Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
63faf51c
authored
Aug 10, 2020
by
samrobinson
Committed by
kim-vde
Aug 17, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Change experimental method naming of setReleaseTimeoutMs.
PiperOrigin-RevId: 325795609
parent
78424efc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayer.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImpl.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayer.java
View file @
63faf51c
...
@@ -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
_s
etReleaseTimeoutMs
(
long
timeoutMs
)
{
public
Builder
experimental
S
etReleaseTimeoutMs
(
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
_s
etReleaseTimeoutMs
(
releaseTimeoutMs
);
player
.
experimental
S
etReleaseTimeoutMs
(
releaseTimeoutMs
);
}
}
if
(!
throwWhenStuckBuffering
)
{
if
(!
throwWhenStuckBuffering
)
{
player
.
experimentalDisableThrowWhenStuckBuffering
();
player
.
experimentalDisableThrowWhenStuckBuffering
();
...
...
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImpl.java
View file @
63faf51c
...
@@ -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
_s
etReleaseTimeoutMs
(
long
timeoutMs
)
{
public
void
experimental
S
etReleaseTimeoutMs
(
long
timeoutMs
)
{
internalPlayer
.
experimental
_s
etReleaseTimeoutMs
(
timeoutMs
);
internalPlayer
.
experimental
S
etReleaseTimeoutMs
(
timeoutMs
);
}
}
/**
/**
...
...
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java
View file @
63faf51c
...
@@ -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
_s
etReleaseTimeoutMs
(
long
releaseTimeoutMs
)
{
public
void
experimental
S
etReleaseTimeoutMs
(
long
releaseTimeoutMs
)
{
this
.
releaseTimeoutMs
=
releaseTimeoutMs
;
this
.
releaseTimeoutMs
=
releaseTimeoutMs
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment