Merge "Change to system properties"

This commit is contained in:
TreeHugger Robot
2019-03-01 06:39:43 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 5 deletions

View File

@@ -150,13 +150,8 @@ SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000
# Display
TARGET_HAS_WIDE_COLOR_DISPLAY := true
TARGET_HAS_HDR_DISPLAY := false
TARGET_USE_COLOR_MANAGEMENT := true
TARGET_USES_COLOR_METADATA := true
# Must align with HAL types Dataspace
# The data space of wide color gamut composition preference is Dataspace::DISPLAY_P3
SF_WCG_COMPOSITION_DATA_SPACE := 143261696
# Charger Mode
BOARD_CHARGER_ENABLE_SUSPEND := true

View File

@@ -698,3 +698,9 @@ endif
# default atrace HAL
PRODUCT_PACKAGES += \
android.hardware.atrace@1.0-service
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true
# Must align with HAL types Dataspace
# The data space of wide color gamut composition preference is Dataspace::DISPLAY_P3
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696