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

Commit f5194d8c authored by Jungshik Jang's avatar Jungshik Jang Committed by Android (Google) Code Review
Browse files

Merge "Fix cyclic mute" into lmp-dev

parents 0a91a0ae 720407ad
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;