Disable dimming mode in factory build

Bug: 252965426
test: check dimming flag
Change-Id: I581d4449b8e68bfb996ddde3784b31ed98b12985
This commit is contained in:
linpeter 2022-10-13 16:19:43 +08:00
parent 343c88ce24
commit 242ea42ffb

View file

@ -56,7 +56,8 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_display_power_timer
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_for_refresh_rate=true PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_for_refresh_rate=true
# Disable dimming in factory # Disable dimming in factory
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.brightness.dimming.usage=2 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.dimming.usage=2
# factory should always has SELinux permissive # factory should always has SELinux permissive
BOARD_BOOTCONFIG += androidboot.selinux=permissive BOARD_BOOTCONFIG += androidboot.selinux=permissive