Skip to content

Commit

Permalink
feat: disable stopForeground
Browse files Browse the repository at this point in the history
  • Loading branch information
lovegaoshi committed Jan 31, 2024
1 parent 1145e2d commit 9afe35b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -739,9 +739,7 @@ class MusicService : HeadlessJsMediaService() {
scope.launch {
delay(stopForegroundGracePeriod.toLong() * 1000)
if (shouldStopForeground()) {
@Suppress("DEPRECATION")
stopForeground(removeNotificationWhenNotOngoing)
Timber.d("Notification has been stopped")
Timber.d("Notification should have been stopped??")
}
}
}
Expand Down

0 comments on commit 9afe35b

Please sign in to comment.