am 60c77212: am 2a393a99: Merge "MountService: unlink death notification when unregistering listeners"
* commit '60c7721210d327a464fdc95dbbe504e8eb10525c': MountService: unlink death notification when unregistering listeners
This commit is contained in:
committed by
Android Git Automerger
commit
3e751f1b7b
@@ -1221,6 +1221,7 @@ class MountService extends IMountService.Stub
|
||||
for(MountServiceBinderListener bl : mListeners) {
|
||||
if (bl.mListener == listener) {
|
||||
mListeners.remove(mListeners.indexOf(bl));
|
||||
listener.asBinder().unlinkToDeath(bl, 0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user