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

Commit c7a460d5 authored by Nathalie Le Clair's avatar Nathalie Le Clair Committed by Android (Google) Code Review
Browse files

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

parents 5d2f4fc3 3ecb6747
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -541,7 +541,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(WAKE_UP_BOOT_UP);
            mPowerStatusController.setPowerStatus(HdmiControlManager.POWER_STATUS_ON);
        }
        }
    }
    }