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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user