Disable HWUI adpf by default and enable in device.mk

* Make HWUI disabled by default for vendors
 * Explicitly enable in supported devices
 * Consolidate flags for HWUI and SF

Bug: b/261628396
Test: manual
Change-Id: I46f87bdc8f5a5c20748ad434866be2b15f8d406e
This commit is contained in:
Matt Buckley 2022-12-06 21:58:37 +00:00
parent d611ba7a18
commit e395408140

View file

@ -243,10 +243,6 @@ PRODUCT_VENDOR_PROPERTIES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
# Enable adpf cpu hint session for SurfaceFlinger
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
debug.sf.enable_adpf_cpu_hint=true
# The default value of this variable is false and should only be set to true when # The default value of this variable is false and should only be set to true when
# the device allows users to enable the seamless transfer feature. # the device allows users to enable the seamless transfer feature.
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \