Skip to content

Commit

Permalink
Improve ongoing notification presentation for PVR channels and unknow…
Browse files Browse the repository at this point in the history
…n sources
  • Loading branch information
SyncedSynapse authored and poisdeux committed Mar 12, 2018
1 parent 94ed40a commit 38e8a7a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions app/src/main/java/org/xbmc/kore/service/NotificationObserver.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,18 @@ private void notifyPlaying(PlayerType.GetActivePlayersReturnType getActivePlayer
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) {
Expand Down

0 comments on commit 38e8a7a

Please sign in to comment.