Merge "AudioService: fix audio mode not reset to MODE_NORMAL" am: 87685d3648 am: bcfd42d906
Change-Id: I8e4a122767d16a746d76c0f5837667cb693ed1ee
This commit is contained in:
@@ -3622,7 +3622,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();
|
||||||
|
try {
|
||||||
hdlr.getBinder().unlinkToDeath(hdlr, 0);
|
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