grus: Add HDR and AOSP color props

* From alioth

Change-Id: I8a546c2a2abdad2671aced7325f4ebf0f4b06a80
This commit is contained in:
Sebastiano Barezzi 2021-07-29 04:38:54 +02:00
parent 4e2edd2bb9
commit 21ae71d331
No known key found for this signature in database
GPG Key ID: 47760583F393BC44
2 changed files with 8 additions and 0 deletions

View File

@ -17,5 +17,8 @@ TARGET_SCREEN_DENSITY := 440
# Kernel # Kernel
TARGET_KERNEL_CONFIG += xiaomi/grus.config TARGET_KERNEL_CONFIG += xiaomi/grus.config
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Inherit from the proprietary version # Inherit from the proprietary version
include vendor/xiaomi/grus/BoardConfigVendor.mk include vendor/xiaomi/grus/BoardConfigVendor.mk

5
vendor.prop Normal file
View File

@ -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