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

Commit a953dac7 authored by Jungshik Jang's avatar Jungshik Jang Committed by Android Git Automerger
Browse files

am 2e33bd88: Merge "Fix cyclic mute" into lmp-dev

* commit '2e33bd88d6068248601e679d644b0671ecaa65b2':
  Fix cyclic mute
parents 04d2d35d f5194d8c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -889,6 +889,12 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
    void changeMute(boolean mute) {
        assertRunOnServiceThread();
        HdmiLogger.debug("[A]:Change mute:%b", mute);
        synchronized (mLock) {
            if (mSystemAudioMute == mute) {
                HdmiLogger.debug("No need to change mute.");
                return;
            }
        }
        if (!isSystemAudioActivated()) {
            HdmiLogger.debug("[A]:System audio is not activated.");
            return;