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

Commit f465d5a2 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

Change-Id: Ide0a92508e38ea8b1100d3263fe9ae8bf9b25e48
parents 0beff21d 00ce1690
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