Default arguments

This commit is contained in:
tzugen 2021-11-01 14:14:12 +01:00
parent 4fb4ab18da
commit 8c99c84a90
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 2 additions and 6 deletions

View File

@ -260,12 +260,8 @@ class MediaPlayerController(
} }
@Synchronized @Synchronized
fun clear() { @JvmOverloads
clear(true) fun clear(serialize: Boolean = true) {
}
@Synchronized
fun clear(serialize: Boolean) {
val mediaPlayerService = runningInstance val mediaPlayerService = runningInstance
if (mediaPlayerService != null) { if (mediaPlayerService != null) {
mediaPlayerService.clear(serialize) mediaPlayerService.clear(serialize)