Skip to content

Commit

Permalink
fixed notification
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearfog committed Aug 4, 2024
1 parent cebd7d0 commit 7553b93
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ class NotificationHelper {
mediaStyle.setMediaSession(mSession.getSessionToken());
mediaStyle.setCancelButtonIntent(callbackStop);
mediaStyle.setShowCancelButton(true);
mediaStyle.setShowActionsInCompactView(0, 1, 2);
notificationBuilder.setStyle(mediaStyle);
}
// use custom notification layout for old Android version
Expand Down

0 comments on commit 7553b93

Please sign in to comment.