Fixed crash on wifi disable.
This commit is contained in:
parent
3fc1f9f925
commit
57f5d65e30
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ public class RemotePlayService extends Service implements RegistryListener {
|
|||
.getDevice(new UDN(d.getKey()), false) == null) {
|
||||
deviceRemoved(d.getValue());
|
||||
for (RemotePlayServiceBinder b : mBinders.keySet())
|
||||
if (b.mCurrentRenderer.equals(d.getValue())) {
|
||||
if (b.mCurrentRenderer != null && b.mCurrentRenderer.equals(d.getValue())) {
|
||||
b.mSubscriptionCallback.end();
|
||||
b.mCurrentRenderer = null;
|
||||
}
|
||||
|
|
Reference in a new issue