Fix NPE reported on Google Play, occurring in RemoteFragment.SetNowPlayingInfo, because the ListType.ItemsAll might be null after a call to Player.GetItem

This commit is contained in:
Synced Synapse 2017-12-04 10:16:35 +00:00
parent 4310d11892
commit 7e519ebd43
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ public class ListType {
track = JsonUtils.intFromJsonNode(node, TRACK, 0);
trailer = JsonUtils.stringFromJsonNode(node, TRAILER, null);
tvshowid = JsonUtils.intFromJsonNode(node, TVSHOWID, -1);
type = JsonUtils.stringFromJsonNode(node, TYPE, null);
type = JsonUtils.stringFromJsonNode(node, TYPE, TYPE_UNKNOWN);
// uniqueid = getStringMap(node, UNIQUEID);
votes = JsonUtils.stringFromJsonNode(node, VOTES, null);
watchedepisodes = JsonUtils.intFromJsonNode(node, WATCHEDEPISODES, -1);