feat(playback): pause media playback when screen is in the background

This commit is contained in:
2026-06-03 21:01:37 +02:00
parent 9aec271aa4
commit e72c421294

View File

@@ -48,7 +48,9 @@ class PlayerActivity : ComponentActivity() {
override fun onPause() {
super.onPause()
viewModel.pausePlayback()
if (!isChangingConfigurations) {
viewModel.pausePlayback()
}
}
override fun onResume() {