Skip to content

Commit

Permalink
Merge pull request enricocid#522 from UdeshyaDhungana/main
Browse files Browse the repository at this point in the history
Don't resume playback when headset is connected
  • Loading branch information
enricocid authored Jan 10, 2023
2 parents 81671bc + 23ba8c3 commit c9f2c81
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,6 @@ class MediaPlayerHolder:
when (intent.getIntExtra("state", -1)) {
// 0 means disconnected
HEADSET_DISCONNECTED -> pauseMediaPlayer()
// 1 means connected
HEADSET_CONNECTED -> resumeMediaPlayer()
}
}

Expand Down

0 comments on commit c9f2c81

Please sign in to comment.