Merge "Fix CEC init twice in normal boot" into sc-dev

This commit is contained in:
Nathalie Le Clair
2021-02-09 07:58:31 +00:00
committed by Android (Google) Code Review

View File

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