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

Commit 1bc876bb authored by Jay Patel's avatar Jay Patel Committed by Gerrit Code Review
Browse files

Merge "Set SAM To Disabled On HdmiControl Disabled"

parents 82454e02 4ee736c7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1655,6 +1655,10 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
        removeAction(SystemAudioAutoInitiationAction.class);
        removeAction(SystemAudioStatusAction.class);
        removeAction(VolumeControlAction.class);

        if (!mService.isControlEnabled()) {
            setSystemAudioMode(false);
        }
    }

    @ServiceThreadOnly