From 21ae71d3317cc116e3fe8be42bae0c408fc60548 Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Thu, 29 Jul 2021 04:38:54 +0200 Subject: [PATCH] grus: Add HDR and AOSP color props * From alioth Change-Id: I8a546c2a2abdad2671aced7325f4ebf0f4b06a80 --- BoardConfig.mk | 3 +++ vendor.prop | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 vendor.prop diff --git a/BoardConfig.mk b/BoardConfig.mk index 4908d16..237038f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -17,5 +17,8 @@ TARGET_SCREEN_DENSITY := 440 # Kernel TARGET_KERNEL_CONFIG += xiaomi/grus.config +# Properties +TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop + # Inherit from the proprietary version include vendor/xiaomi/grus/BoardConfigVendor.mk diff --git a/vendor.prop b/vendor.prop new file mode 100644 index 0000000..dd1af76 --- /dev/null +++ b/vendor.prop @@ -0,0 +1,5 @@ +# Display +ro.surface_flinger.has_HDR_display=true +ro.surface_flinger.has_wide_color_display=true +ro.surface_flinger.use_color_management=true +ro.surface_flinger.wcg_composition_dataspace=143261696