Skip to content

Commit

Permalink
fix: audio service (#1059)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier authored Nov 27, 2024
1 parent af273cc commit 25883c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/player/player_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@ class PlayerService {
androidNotificationOngoing: true,
androidNotificationChannelName: kAppName,
androidNotificationChannelId: Platform.isAndroid ? kAndroidAppId : null,
androidStopForegroundOnPause: false,
androidNotificationChannelDescription: 'MusicPod Media Controls',
),
builder: () {
Expand Down Expand Up @@ -672,8 +671,7 @@ class PlayerService {
_audioHandler!.playbackState.value.copyWith(
playing: playing,
controls: _determineMediaControls(playing),
processingState:
playing ? AudioProcessingState.ready : AudioProcessingState.idle,
processingState: AudioProcessingState.ready,
),
);
} else if (_smtc != null) {
Expand Down

0 comments on commit 25883c7

Please sign in to comment.