Commit dd1d1998 authored by Geoffrey Métais's avatar Geoffrey Métais

Remove hack for playbackservice on Oreo

parent 550f76ad
......@@ -962,7 +962,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
cover, playing, sessionToken, getSessionPendingIntent());
if (isPlayingPopup())
return;
if (AndroidUtil.isOOrLater || !AndroidUtil.isLolliPopOrLater || playing) {
if (!AndroidUtil.isLolliPopOrLater || playing) {
if (!mIsForeground) {
PlaybackService.this.startForeground(3, notification);
mIsForeground = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment