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

This commit is contained in:
Treehugger Robot
2020-06-05 04:51:49 +00:00
committed by Gerrit Code Review

View File

@@ -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);