Improve ongoing notification presentation for PVR channels and unknown sources

This commit is contained in:
Synced Synapse 2018-03-09 20:22:31 +00:00 committed by Martijn Brekhof
parent 94ed40a823
commit 38e8a7a376
1 changed files with 11 additions and 2 deletions

View File

@ -204,9 +204,18 @@ public class NotificationObserver
poster = getItemResult.thumbnail;
smallIcon = R.drawable.ic_headset_white_24dp;
break;
case ListType.ItemsAll.TYPE_CHANNEL:
title = getItemResult.label;
underTitle = getItemResult.title;
poster = getItemResult.thumbnail;
smallIcon = R.drawable.ic_dvr_white_24dp;
break;
default:
// We don't know what this is, forget it
return;
title = getItemResult.label;
underTitle = getItemResult.title;
poster = getItemResult.thumbnail;
smallIcon = R.drawable.ic_devices_white_24dp;
break;
}
switch (getPropertiesResult.speed) {