Skip to content
This repository was archived by the owner on Aug 24, 2023. It is now read-only.

Commit a592134

Browse files
committed
PlayerService: Abandon audio focus when stop playing
Signed-off-by: Shinjo Akane <[email protected]>
1 parent c02d4c2 commit a592134

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/org/akanework/symphonica/logic/service/SymphonicaPlayerService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ class SymphonicaPlayerService : Service(), MediaPlayer.OnPreparedListener {
360360
musicPlayer = null
361361
broadcastPlayStopped()
362362
broadcastMetaDataUpdate()
363+
abandonAudioFocus()
363364
}
364365

365366
private fun prevSongDecisionMaker() {

0 commit comments

Comments
 (0)