diff --git a/factory_common.mk b/factory_common.mk index c4b556d6..6598fac9 100644 --- a/factory_common.mk +++ b/factory_common.mk @@ -54,6 +54,9 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_touch_timer_ms=200 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_display_power_timer_ms=1000 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_for_refresh_rate=true +# Disable dimming in factory +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.brightness.dimming.usage=2 + # factory should always has SELinux permissive BOARD_BOOTCONFIG += androidboot.selinux=permissive BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive