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:
parent
4310d11892
commit
7e519ebd43
|
@ -277,7 +277,7 @@ public class ListType {
|
||||||
track = JsonUtils.intFromJsonNode(node, TRACK, 0);
|
track = JsonUtils.intFromJsonNode(node, TRACK, 0);
|
||||||
trailer = JsonUtils.stringFromJsonNode(node, TRAILER, null);
|
trailer = JsonUtils.stringFromJsonNode(node, TRAILER, null);
|
||||||
tvshowid = JsonUtils.intFromJsonNode(node, TVSHOWID, -1);
|
tvshowid = JsonUtils.intFromJsonNode(node, TVSHOWID, -1);
|
||||||
type = JsonUtils.stringFromJsonNode(node, TYPE, null);
|
type = JsonUtils.stringFromJsonNode(node, TYPE, TYPE_UNKNOWN);
|
||||||
// uniqueid = getStringMap(node, UNIQUEID);
|
// uniqueid = getStringMap(node, UNIQUEID);
|
||||||
votes = JsonUtils.stringFromJsonNode(node, VOTES, null);
|
votes = JsonUtils.stringFromJsonNode(node, VOTES, null);
|
||||||
watchedepisodes = JsonUtils.intFromJsonNode(node, WATCHEDEPISODES, -1);
|
watchedepisodes = JsonUtils.intFromJsonNode(node, WATCHEDEPISODES, -1);
|
||||||
|
|
Loading…
Reference in New Issue