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
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 @@
* 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,
};
/*