diff options
author | Yuncheol Heo <ycheo@google.com> | 2014-09-13 11:21:46 +0900 |
---|---|---|
committer | Yuncheol Heo <ycheo@google.com> | 2014-09-13 11:21:46 +0900 |
commit | 4b5c2d3cfc8aec4ab90097734a3556a0d0c0e68d (patch) | |
tree | e71f3e617a36b35caab217f498c191e12e00e431 | |
parent | 777195efcee199737a37fe236afb69fdd577dfa0 (diff) | |
download | frameworks_base-4b5c2d3cfc8aec4ab90097734a3556a0d0c0e68d.zip frameworks_base-4b5c2d3cfc8aec4ab90097734a3556a0d0c0e68d.tar.gz frameworks_base-4b5c2d3cfc8aec4ab90097734a3556a0d0c0e68d.tar.bz2 |
Change the property name to pass selinux.
- Added the prefix 'persist.sys.' to pass selinux and to make the
properties persistent after reboot.
- Shortened the name to fit the length to 31.
- Got together the properties in the near place.
Bug: 17491732
Change-Id: I051f1bacc51ee372806077159020600ffeb30f48
-rw-r--r-- | services/core/java/com/android/server/hdmi/Constants.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/services/core/java/com/android/server/hdmi/Constants.java b/services/core/java/com/android/server/hdmi/Constants.java index 5823f47..b0a3a66 100644 --- a/services/core/java/com/android/server/hdmi/Constants.java +++ b/services/core/java/com/android/server/hdmi/Constants.java @@ -212,8 +212,13 @@ final class Constants { // in config.xml to allow customization. static final int IRT_MS = 300; - static final String PROPERTY_PREFERRED_ADDRESS_PLAYBACK = "hdmi_cec.prefaddr.playback"; - static final String PROPERTY_PREFERRED_ADDRESS_TV = "hdmi_cec.prefaddr.tv"; + static final String PROPERTY_PREFERRED_ADDRESS_PLAYBACK = "persist.sys.hdmi.addr.playback"; + static final String PROPERTY_PREFERRED_ADDRESS_TV = "persist.sys.hdmi.addr.tv"; + + // Property name for the local device configurations. + // TODO(OEM): OEM should provide this property, and the value is the comma separated integer + // values which denotes the device type in HDMI Spec 1.4. + static final String PROPERTY_DEVICE_TYPE = "ro.hdmi.device_type"; static final int RECORDING_TYPE_DIGITAL_RF = 1; static final int RECORDING_TYPE_ANALOGUE_RF = 2; @@ -250,10 +255,5 @@ final class Constants { static final int DISABLED = 0; static final int ENABLED = 1; - // Property name for the local device configurations. - // TODO(OEM): OEM should provide this property, and the value is the comma separated integer - // values which denotes the device type in HDMI Spec 1.4. - static final String PROPERTY_DEVICE_TYPE = "ro.hdmi.device_type"; - private Constants() { /* cannot be instantiated */ } } |