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

Commit d208c1b8 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 3e751f1b: am 60c77212: am 2a393a99: Merge "MountService: unlink death...

am 3e751f1b: am 60c77212: am 2a393a99: Merge "MountService: unlink death notification when unregistering listeners"

* commit '3e751f1b':
  MountService: unlink death notification when unregistering listeners
parents a1988efb 3e751f1b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1221,6 +1221,7 @@ class MountService extends IMountService.Stub
            for(MountServiceBinderListener bl : mListeners) {
            for(MountServiceBinderListener bl : mListeners) {
                if (bl.mListener == listener) {
                if (bl.mListener == listener) {
                    mListeners.remove(mListeners.indexOf(bl));
                    mListeners.remove(mListeners.indexOf(bl));
                    listener.asBinder().unlinkToDeath(bl, 0);
                    return;
                    return;
                }
                }
            }
            }