Merge "AudioService: fix audio mode not reset to MODE_NORMAL" am: 87685d3648 am: bcfd42d906 am: 2c7f34cb0e am: 4d9f3484c7
Change-Id: I35c05481401a1648e9b969b15560453c5d8c6320
This commit is contained in:
@@ -3622,7 +3622,15 @@ public class AudioService extends IAudioService.Stub
|
||||
hdlr = h;
|
||||
// Remove from client list so that it is re-inserted at top of list
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user