Merge "Fix CEC init twice in normal boot"
This commit is contained in:
@@ -555,7 +555,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();
|
mPowerStatus = HdmiControlManager.POWER_STATUS_ON;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user