Commit 25029ea3 authored by Geoffrey Métais's avatar Geoffrey Métais

Set service foreground on Android TV

parent 86c1e326
......@@ -963,7 +963,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
private void showNotification() {
if (VLCApplication.showTvUi())
if (!AndroidDevices.isAndroidTv && VLCApplication.showTvUi())
return;
if (isPlayingPopup() || mMediaPlayer.getVLCVout().areViewsAttached()) {
hideNotification();
......
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