From d43651c2a8cef0027cd2bcce186925d8a49fb704 Mon Sep 17 00:00:00 2001 From: Sally Qi Date: Tue, 29 Nov 2022 17:23:34 -0800 Subject: [PATCH] Expose COLOR_MODE_DISPLAY_BT2020. Bug: 256551001 Test: build and flash; hidl-gen -L hash android.hardware:hardware/interfaces android.hardware.graphics.common@1.2::types >> current.txt Change-Id: I33116c1b31bd981b04489bc9704a54e97332aed7 --- current.txt | 1 + graphics/common/1.2/types.hal | 2 ++ 2 files changed, 3 insertions(+) diff --git a/current.txt b/current.txt index 146ded6ddf..0fb8b49992 100644 --- a/current.txt +++ b/current.txt @@ -931,5 +931,6 @@ b7ce2d87841585551b082fca6d099622e63b7099e0d8013f687ea1a1dc35c4dc android.hardwar # ABI preserving changes to HALs during Android U 2aa559cda86c358c6429114ef6bc72c1b43281e98f9eb6b4df5e7073c8d05767 android.hardware.automotive.vehicle@2.0::types +42abd285a4293dadb8c89bc63b90cae2872fbffe90c4517aa3ea4965e8aecff7 android.hardware.graphics.common@1.2::types # There will be no more HIDL HALs. Use AIDL instead. diff --git a/graphics/common/1.2/types.hal b/graphics/common/1.2/types.hal index ebea1dcc7b..07e988241a 100644 --- a/graphics/common/1.2/types.hal +++ b/graphics/common/1.2/types.hal @@ -77,6 +77,8 @@ enum Dataspace : @1.1::Dataspace { HEIF = 0x1004, }; +@export(name="android_color_mode_v1_2_t", value_prefix="HAL_COLOR_MODE_", + export_parent="false") enum ColorMode : @1.1::ColorMode { /** * DISPLAY_BT2020 corresponds with display settings that implement the ITU-R