From f669d8b42e63057f2e3e7185ee9664a44ff90660 Mon Sep 17 00:00:00 2001 From: William Tai Date: Sat, 16 Apr 2022 09:20:33 +0800 Subject: [PATCH] display: add primary display LHBM property Add primary display LHBM frames to reach peak brightness property. Bug: 224573604 Test: perfetto Change-Id: I55b85dff319fa95be6ee33c7286eca1c0a042407 --- device-cheetah.mk | 3 +++ device-panther.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/device-cheetah.mk b/device-cheetah.mk index 9fe0aec..de791e5 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -79,6 +79,9 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 #config of display brightness dimming PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.brightness.dimming.usage=1 +#config of primary display frames to reach LHBM peak brightness +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=2 + # NFC PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ diff --git a/device-panther.mk b/device-panther.mk index f390c44..e389f17 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -64,6 +64,9 @@ PRODUCT_COPY_FILES += \ # Display LBE PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 +#config of primary display frames to reach LHBM peak brightness +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=2 + # NFC PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \