summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJinsuk Kim <jinsukkim@google.com>2015-01-19 07:20:09 +0900
committerJinsuk Kim <jinsukkim@google.com>2015-01-19 10:46:39 +0900
commit8b7eca867492d8a08285059492ce5697b68b5821 (patch)
tree049028c647bc3c25ea17d7c3dbaa4f3067936dcb
parent83b47a6891a5bf3d546f0f7a8976132e45169075 (diff)
downloadhardware_libhardware-8b7eca867492d8a08285059492ce5697b68b5821.zip
hardware_libhardware-8b7eca867492d8a08285059492ce5697b68b5821.tar.gz
hardware_libhardware-8b7eca867492d8a08285059492ce5697b68b5821.tar.bz2
CEC: Add a new flag for set_option
Added a flag to pass system language information to HAL so that it can respond to <Get Menu Language> in standby mode. Bug: 19054079 Change-Id: Iada00307202f5c9429944184b62b6456b624125a
-rw-r--r--include/hardware/hdmi_cec.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/hardware/hdmi_cec.h b/include/hardware/hdmi_cec.h
index 26a6266..ab70f92 100644
--- a/include/hardware/hdmi_cec.h
+++ b/include/hardware/hdmi_cec.h
@@ -212,6 +212,15 @@ enum {
* False by default.
*/
HDMI_OPTION_SYSTEM_CEC_CONTROL = 3,
+
+ /* Option 4 not used */
+
+ /* Passes the updated language information of Android system.
+ * Contains 3-byte ASCII code as defined in ISO/FDIS 639-2. Can be
+ * used for HAL to respond to <Get Menu Language> while in standby mode.
+ * English(eng), for example, is converted to 0x656e67.
+ */
+ HDMI_OPTION_SET_LANG = 5,
};
/*