Merge pull request #4284 from msoose/patch-1

Add seekbar to notification
This commit is contained in:
H. Lehmann 2020-07-11 17:46:17 +02:00 committed by GitHub
commit c353cf79ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1158,7 +1158,8 @@ public class PlaybackService extends MediaBrowserServiceCompat {
long capabilities = PlaybackStateCompat.ACTION_PLAY_PAUSE
| PlaybackStateCompat.ACTION_REWIND
| PlaybackStateCompat.ACTION_FAST_FORWARD
| PlaybackStateCompat.ACTION_SKIP_TO_NEXT;
| PlaybackStateCompat.ACTION_SKIP_TO_NEXT
| PlaybackStateCompat.ACTION_SEEK_TO;
if (useSkipToPreviousForRewindInLockscreen()) {
// Workaround to fool Android so that Lockscreen will expose a skip-to-previous button,