diff options
author | qctecmdr <qctecmdr@localhost> | 2020-10-28 22:45:31 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-10-28 22:45:31 -0700 |
commit | 6e63dd4ba77b2dd68f3d0e0217592f29d406a840 (patch) | |
tree | 0937e8cf0952aa16137d4e4574da8c0e91d77e6e | |
parent | 65cc42e5bea200d6a60d2afac42c0c15507a26ab (diff) | |
parent | 1b056c2223143ea401a47f8726a32b7e58656ab2 (diff) |
Merge "Updated WCG property based on targets"
-rw-r--r-- | config/display-product.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/config/display-product.mk b/config/display-product.mk index 6840d77c..7d65408d 100644 --- a/config/display-product.mk +++ b/config/display-product.mk @@ -107,13 +107,20 @@ PRODUCT_PROPERTY_OVERRIDES += \ vendor.display.enable_optimize_refresh=1 \ vendor.display.disable_ui_3d_tonemap=1 -#Set WCG properties ifeq ($(TARGET_BOARD_PLATFORM), msmnile) +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true +endif + +#Set WCG properties +ifeq ($(TARGET_BOARD_PLATFORM),$(TRINKET)) +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=false +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=false +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=false +else PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696 -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true endif PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.force_hwc_copy_for_virtual_displays=true |