display: disable smooth display be default

Update the package overlay order to apply device specific display
settings.

Bug: 316868583
Bug: 316356788
Test: smooth display is off after factory reset
Change-Id: Id8573ccdd451ae31ac8a0bb22abfa90232bb40c2
This commit is contained in:
Shin-Yu Wang 2024-03-14 09:19:39 +00:00
parent 765b34adf6
commit bbd1230cf9
2 changed files with 4 additions and 3 deletions

View file

@ -30,6 +30,9 @@ $(call inherit-product-if-exists, vendor/google_devices/zumapro/proprietary/devi
$(call inherit-product-if-exists, vendor/google_devices/tegu/proprietary/tegu/device-vendor-tegu.mk)
$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk)
# display
DEVICE_PACKAGE_OVERLAYS += device/google/tegu/tegu/overlay
include device/google/tegu/audio/tegu/audio-tables.mk
include device/google/zumapro/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
@ -45,8 +48,6 @@ $(call soong_config_set,lyric,tuning_product,ripcurrent)
$(warning target_device set to zuma on zumapro target)
$(call soong_config_set,google3a_config,target_device,ripcurrent)
# display
DEVICE_PACKAGE_OVERLAYS += device/google/tegu/tegu/overlay
# Init files
PRODUCT_COPY_FILES += \

View file

@ -50,7 +50,7 @@
<integer name="config_defaultRefreshRate">0</integer>
<!-- The default peak refresh rate. -->
<integer name="config_defaultPeakRefreshRate">120</integer>
<integer name="config_defaultPeakRefreshRate">60</integer>
<!-- Not allow to switch to higher refresh rate when display brightness setting is
equal or less than this value -->