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

Commit a5b33262 authored by Vairavan Srinivasan's avatar Vairavan Srinivasan
Browse files

MountService: unlink death notification when unregistering listeners

Change-Id: Ifc3212221a3ab30fa4d59b1b1388e96294257156
parent f82fa927
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1127,6 +1127,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;
                }
            }