diff options
author | ByteHamster <info@bytehamster.com> | 2019-09-29 13:25:59 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-10-04 11:24:27 +0200 |
commit | 933790b0d3068532bdbd6b5b4856e6d49d3dfbdd (patch) | |
tree | 4d69e905205cdd49a457d452f4dbd3d4a08c98b9 /core/src/main/java | |
parent | 393d1fd64696d3ac707053f0114b33f9ed19608e (diff) | |
download | AntennaPod-933790b0d3068532bdbd6b5b4856e6d49d3dfbdd.zip |
Fixed compilation
Diffstat (limited to 'core/src/main/java')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java index 79a447c2d..b809ad659 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java @@ -16,7 +16,6 @@ import androidx.core.content.ContextCompat; import android.support.v4.media.session.MediaSessionCompat; import android.util.Log; import android.view.KeyEvent; -import androidx.media.app.NotificationCompat; import com.bumptech.glide.Glide; import com.bumptech.glide.request.RequestOptions; import de.danoeh.antennapod.core.ClientConfig; @@ -195,7 +194,7 @@ public class PlaybackServiceNotificationBuilder extends NotificationCompat.Build PendingIntent stopButtonPendingIntent = getPendingIntentForMediaAction( KeyEvent.KEYCODE_MEDIA_STOP, numActions); - setStyle(new NotificationCompat.MediaStyle() + setStyle(new androidx.media.app.NotificationCompat.MediaStyle() .setMediaSession(mediaSessionToken) .setShowActionsInCompactView(compactActionList.toArray()) .setShowCancelButton(true) |