Fixed crash when playing to XBMC.
This commit is contained in:
parent
ea90337602
commit
1cbee26731
1 changed files with 3 additions and 0 deletions
|
@ -377,6 +377,9 @@ public class RemotePlayService extends Service implements RegistryListener {
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
@Override
|
@Override
|
||||||
public void received(ActionInvocation invocation, PositionInfo positionInfo) {
|
public void received(ActionInvocation invocation, PositionInfo positionInfo) {
|
||||||
|
if (positionInfo.getTrackURI() == null)
|
||||||
|
return;
|
||||||
|
|
||||||
Message msg = Message.obtain(null, Provider.MSG_STATUS_INFO, 0, 0);
|
Message msg = Message.obtain(null, Provider.MSG_STATUS_INFO, 0, 0);
|
||||||
Builder status = null;
|
Builder status = null;
|
||||||
|
|
||||||
|
|
Reference in a new issue