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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13495485

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3bde62b6552b5b44bbe1b062949cb87d224a1957
This commit is contained in:
Nathalie Le Clair
2021-02-09 08:31:23 +00:00
committed by Automerger Merge Worker

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