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

Commit b8975ce9 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 am: bcfd42d9

Change-Id: Ib4aacd394a0c1d137222b253e15fd85a781b0ebd
parents e054e6be bcfd42d9
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;
            }
        }