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

Commit 87685d36 authored by Eric Laurent's avatar Eric Laurent Committed by Gerrit Code Review
Browse files

Merge "AudioService: fix audio mode not reset to MODE_NORMAL"

parents d8f9951f 7d5a0048
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -3357,7 +3357,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();
                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;
            }
        }