From 8b7eca867492d8a08285059492ce5697b68b5821 Mon Sep 17 00:00:00 2001 From: Jinsuk Kim Date: Mon, 19 Jan 2015 07:20:09 +0900 Subject: [PATCH] CEC: Add a new flag for set_option Added a flag to pass system language information to HAL so that it can respond to in standby mode. Bug: 19054079 Change-Id: Iada00307202f5c9429944184b62b6456b624125a --- include/hardware/hdmi_cec.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/hardware/hdmi_cec.h b/include/hardware/hdmi_cec.h index 26a6266c..ab70f92e 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 while in standby mode. + * English(eng), for example, is converted to 0x656e67. + */ + HDMI_OPTION_SET_LANG = 5, }; /*