Merge "AudioService: fix audio mode not reset to MODE_NORMAL" am: 87685d3648 am: bcfd42d906 am: 2c7f34cb0e
Change-Id: I1215679cb66aa6ba768385176a37086f2c2fb488
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