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

Commit 30737796 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" into rvc-dev am:...

Merge "AudioService: fix audio mode not reset to MODE_NORMAL" into rvc-dev am: 9454e04c am: 226cd45d am: 79d2522a

Change-Id: I758bdb334df2f6352c8db4396a9b7f0a894ba4d0
parents ab889f5b 79d2522a
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -3622,7 +3622,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;
            }
        }