feat: 优化

pull/226/head
gedoor 5 years ago
parent 54e2e6071f
commit 16f8fc0ca3
  1. 1
      app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

@ -323,7 +323,6 @@ abstract class BaseReadAloudService : BaseService(),
) )
builder.setStyle( builder.setStyle(
androidx.media.app.NotificationCompat.MediaStyle() androidx.media.app.NotificationCompat.MediaStyle()
.setMediaSession(mediaSessionCompat.sessionToken)
.setShowActionsInCompactView(0, 1, 2) .setShowActionsInCompactView(0, 1, 2)
) )
builder.setVisibility(NotificationCompat.VISIBILITY_PUBLIC) builder.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)

Loading…
Cancel
Save