Merge "Fix CEC init twice in normal boot"

This commit is contained in:
Nathalie Le Clair
2021-02-09 15:24:49 +00:00
committed by Gerrit Code Review

View File

@@ -555,7 +555,7 @@ public class HdmiControlService extends SystemService {
private void bootCompleted() { private void bootCompleted() {
// on boot, if device is interactive, set HDMI CEC state as powered on as well // on boot, if device is interactive, set HDMI CEC state as powered on as well
if (mPowerManager.isInteractive() && isPowerStandbyOrTransient()) { if (mPowerManager.isInteractive() && isPowerStandbyOrTransient()) {
onWakeUp(); mPowerStatus = HdmiControlManager.POWER_STATUS_ON;
} }
} }