Merge "Fix CEC init twice in normal boot" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c7a460d5ec
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user