force controls to be visible in small view
This commit is contained in:
parent
9954fbe082
commit
bc4c8e8d6e
@ -2145,7 +2145,8 @@ public final class PlaybackService extends Service
|
||||
.addAction(new NotificationCompat.Action(R.drawable.next,
|
||||
getString(R.string.next_song), PendingIntent.getService(this, 0, next, 0)))
|
||||
.setStyle(new androidx.media.app.NotificationCompat.MediaStyle()
|
||||
.setMediaSession(mMediaSessionTracker.getSessionToken()))
|
||||
.setMediaSession(mMediaSessionTracker.getSessionToken())
|
||||
.setShowActionsInCompactView(0, 1, 2))
|
||||
.build();
|
||||
return n;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user