Loading services/core/java/com/android/server/hdmi/HdmiControlService.java +8 −1 Original line number Diff line number Diff line Loading @@ -621,7 +621,14 @@ public class HdmiControlService extends SystemService { mWakeUpMessageReceived = false; if (isTvDeviceEnabled()) { mCecController.setOption(OptionKey.WAKEUP, tv().getAutoWakeup()); boolean autoWakeupEnabled = readBooleanSetting(Global.HDMI_CONTROL_AUTO_WAKEUP_ENABLED, true); boolean autoDeviceOffEnabled = readBooleanSetting(Global.HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED, true); mCecController.setOption(OptionKey.WAKEUP, autoWakeupEnabled); tv().setAutoWakeup(autoWakeupEnabled); tv().setAutoDeviceOff(autoDeviceOffEnabled); } int reason = -1; switch (initiatedBy) { Loading Loading
services/core/java/com/android/server/hdmi/HdmiControlService.java +8 −1 Original line number Diff line number Diff line Loading @@ -621,7 +621,14 @@ public class HdmiControlService extends SystemService { mWakeUpMessageReceived = false; if (isTvDeviceEnabled()) { mCecController.setOption(OptionKey.WAKEUP, tv().getAutoWakeup()); boolean autoWakeupEnabled = readBooleanSetting(Global.HDMI_CONTROL_AUTO_WAKEUP_ENABLED, true); boolean autoDeviceOffEnabled = readBooleanSetting(Global.HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED, true); mCecController.setOption(OptionKey.WAKEUP, autoWakeupEnabled); tv().setAutoWakeup(autoWakeupEnabled); tv().setAutoDeviceOff(autoDeviceOffEnabled); } int reason = -1; switch (initiatedBy) { Loading