playback: hide exoholder save impl
This commit is contained in:
parent
aac39b771d
commit
583e984c70
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ class ExoPlaybackStateHolder(
|
|||
player.repeatMode == Player.REPEAT_MODE_ONE && playbackSettings.pauseOnRepeat
|
||||
}
|
||||
|
||||
fun save(cb: () -> Unit) {
|
||||
private fun save(cb: () -> Unit) {
|
||||
saveJob {
|
||||
persistenceRepository.saveState(playbackManager.toSavedState())
|
||||
withContext(Dispatchers.Main) { cb() }
|
||||
|
|
Loading…
Reference in a new issue