Default wake on plug to false

Bug:149479986
Change-Id: Id8c6f083d5d25b4db8cc4d7809b6681a6b234547
Test: m framework
This commit is contained in:
Nick Chalko
2020-02-13 16:56:35 -08:00
parent ac21f74938
commit 9a6d9858ac
2 changed files with 2 additions and 2 deletions

View File

@@ -395,7 +395,7 @@ final class Constants {
static final String PROPERTY_PREFERRED_ADDRESS_TV = "persist.sys.hdmi.addr.tv";
// TODO(OEM): Set this to false to keep the playback device in sleep upon hotplug event.
// True by default.
// False by default.
static final String PROPERTY_WAKE_ON_HOTPLUG = "ro.hdmi.wake_on_hotplug";
/**

View File

@@ -45,7 +45,7 @@ public class HdmiCecLocalDevicePlayback extends HdmiCecLocalDeviceSource {
private static final String TAG = "HdmiCecLocalDevicePlayback";
private static final boolean WAKE_ON_HOTPLUG =
SystemProperties.getBoolean(Constants.PROPERTY_WAKE_ON_HOTPLUG, true);
SystemProperties.getBoolean(Constants.PROPERTY_WAKE_ON_HOTPLUG, false);
private static final boolean SET_MENU_LANGUAGE =
HdmiProperties.set_menu_language().orElse(false);