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

Commit 7970f366 authored by Jay Patel's avatar Jay Patel Committed by android-build-merger
Browse files

Merge "Set SAM To Disabled On HdmiControl Disabled" am: 1bc876bb am: 9e89d139 am: 00ce1690

am: f465d5a2

Change-Id: I57172873b2ac3c24d535af5006657cdab4b7bf79
parents bef2c22e f465d5a2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1635,6 +1635,10 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
        removeAction(SystemAudioAutoInitiationAction.class);
        removeAction(SystemAudioStatusAction.class);
        removeAction(VolumeControlAction.class);

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

    @ServiceThreadOnly