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-oriole.mk b/device-oriole.mk
index d618bb8..e30c829 100644
--- a/device-oriole.mk
+++ b/device-oriole.mk
@@ -248,3 +248,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