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

Commit 4219c436 authored by Jay Patel's avatar Jay Patel Committed by Automerger Merge Worker
Browse files

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

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

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

Change-Id: Iceb7857a8a4828d36b433e8d49f57ea41d7471e7
parents 9463a17b dde26820
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);