Default arguments
This commit is contained in:
parent
4fb4ab18da
commit
8c99c84a90
|
@ -260,12 +260,8 @@ class MediaPlayerController(
|
|||
}
|
||||
|
||||
@Synchronized
|
||||
fun clear() {
|
||||
clear(true)
|
||||
}
|
||||
|
||||
@Synchronized
|
||||
fun clear(serialize: Boolean) {
|
||||
@JvmOverloads
|
||||
fun clear(serialize: Boolean = true) {
|
||||
val mediaPlayerService = runningInstance
|
||||
if (mediaPlayerService != null) {
|
||||
mediaPlayerService.clear(serialize)
|
||||
|
|
Loading…
Reference in New Issue