Merge "AudioService: fix audio mode not reset to MODE_NORMAL"
This commit is contained in:
@@ -3357,7 +3357,15 @@ public class AudioService extends IAudioService.Stub
|
|||||||
hdlr = h;
|
hdlr = h;
|
||||||
// Remove from client list so that it is re-inserted at top of list
|
// Remove from client list so that it is re-inserted at top of list
|
||||||
iter.remove();
|
iter.remove();
|
||||||
hdlr.getBinder().unlinkToDeath(hdlr, 0);
|
try {
|
||||||
|
hdlr.getBinder().unlinkToDeath(hdlr, 0);
|
||||||
|
if (cb != hdlr.getBinder()){
|
||||||
|
hdlr = null;
|
||||||
|
}
|
||||||
|
} catch (NoSuchElementException e) {
|
||||||
|
hdlr = null;
|
||||||
|
Log.w(TAG, "link does not exist ...");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user