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

Commit bcfd42d9 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Merge "AudioService: fix audio mode not reset to MODE_NORMAL" am: 87685d36

Change-Id: I545f4a8b8971fd10387bb28420c3940d67ef91ce
parents a3fd4304 87685d36
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -3374,7 +3374,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;
            }
        }