Fixed crash when playing to XBMC.

This commit is contained in:
Felix Ableitner 2013-12-16 02:23:48 +01:00
parent ea90337602
commit 1cbee26731

View file

@ -377,6 +377,9 @@ public class RemotePlayService extends Service implements RegistryListener {
@SuppressWarnings("rawtypes")
@Override
public void received(ActionInvocation invocation, PositionInfo positionInfo) {
if (positionInfo.getTrackURI() == null)
return;
Message msg = Message.obtain(null, Provider.MSG_STATUS_INFO, 0, 0);
Builder status = null;