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

Commit f5246639 authored by Treehugger Robot's avatar Treehugger Robot Committed by Jay Patel
Browse files

Merge "Remove mute key if no Report Audio Status received." am: 0156e051 am:...

Merge "Remove mute key if no Report Audio Status received." am: 0156e051 am: d42536b3 am: b74d3b4d am: 2bd1a0bb am: 85bf46fc

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/968228

Bug: 133375546

Change-Id: I35cc834aa1aa8d2280ac2cc58fe359e3592d9bda
(cherry picked from commit c8ebcea3)
parent 2201f8b6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -64,12 +64,6 @@ final class SystemAudioStatusAction extends HdmiCecFeatureAction {
    }

    private void handleSendGiveAudioStatusFailure() {
        // Inform to all application that the audio status (volume, mute) of
        // the audio amplifier is unknown.
        tv().setAudioStatus(false, Constants.UNKNOWN_VOLUME);

        sendUserControlPressedAndReleased(mAvrAddress,
                HdmiCecKeycode.getMuteKey(!tv().isSystemAudioActivated()));

        // Still return SUCCESS to callback.
        finishWithCallback(HdmiControlManager.RESULT_SUCCESS);