Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c25a2d3 authored by Vairavan Srinivasan's avatar Vairavan Srinivasan
Browse files

MountService: unlink death notification when unregistering listeners

Change-Id: I09045cfe67f7da84bc68a50fc5440ea2c6b754e5
parent 9d25b82d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1218,6 +1218,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;
                }
            }