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

Commit 1d705b4a authored by Amy Zhang's avatar Amy Zhang Committed by Android (Google) Code Review
Browse files

Merge "Add a missing Timer to re-send the SAM support CEC message to the TV"

parents fcbaab78 af3117ea
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -56,6 +56,11 @@ public class DetectTvSystemAudioModeSupportAction extends HdmiCecFeatureAction {
                if (HdmiUtils.getAbortReason(cmd) == Constants.ABORT_NOT_IN_CORRECT_MODE) {
                    mActionTimer.clearTimerMessage();
                    mState = STATE_WAITING_FOR_SET_SAM;
                    // Outgoing User Control Press commands, when in 'Press and Hold' mode, should
                    // be this much apart from the adjacent one so as not to place unnecessarily
                    // heavy load on the CEC line. We also wait this much time to send the next
                    // retry of the System Audio Mode support detection message.
                    addTimer(mState, HdmiConfig.IRT_MS);
                } else {
                    finishAction(false);
                }