Skip to content

Commit

Permalink
fix: #135
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyroid committed May 9, 2024
1 parent 34bbe78 commit b073ef7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class PlayerActivity : ComponentActivity() {
}
}
addOnPictureInPictureModeChangedListener {
isInPipMode = it.isInPictureInPictureMode
if (!it.isInPictureInPictureMode && lifecycle.currentState !in arrayOf(
Lifecycle.State.RESUMED,
Lifecycle.State.STARTED
Expand Down

0 comments on commit b073ef7

Please sign in to comment.