Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.
Bug: b/241152899
Bug: b/195990840
Test: manual
Change-Id: I915bf64a669c176e53542752760f21e3a696a57b
diff --git a/device-raven.mk b/device-raven.mk
index 1b92705..ca789ed 100644
--- a/device-raven.mk
+++ b/device-raven.mk
@@ -262,3 +262,7 @@
# Device features
PRODUCT_COPY_FILES += \
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