OSDN Git Service

CEC: Add a new flag for set_option
authorJinsuk Kim <jinsukkim@google.com>
Sun, 18 Jan 2015 22:20:09 +0000 (07:20 +0900)
committerJinsuk Kim <jinsukkim@google.com>
Mon, 19 Jan 2015 01:46:39 +0000 (10:46 +0900)
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

include/hardware/hdmi_cec.h

index 26a6266..ab70f92 100644 (file)
@@ -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,
 };
 
 /*