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

Commit 720407ad authored by Jungshik Jang's avatar Jungshik Jang
Browse files

Fix cyclic mute

Bug: 17502271
Change-Id: I837315afce8193ac1948fffed66cbb8c755968e2
parent 2d02b204
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;