Disable early hint in SurfaceFlinger adpf cpu hints by default
Early hint for SurfaceFlinger currently does not provide enough value
and needs to more tweaking becomes viable, so this patch disables it
by default for the feature rollout.
Bug: b/239730433
Test: manual
Change-Id: I48387f5a14b242e8b9fb5c7dfbc3d041c303eb71
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 3874371..4f54f17 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -456,7 +456,7 @@
// Power hint session mode, representing which hint(s) to send: early, late, or both)
mPowerHintSessionMode =
{.late = base::GetBoolProperty("debug.sf.send_late_power_session_hint"s, true),
- .early = base::GetBoolProperty("debug.sf.send_early_power_session_hint"s, true)};
+ .early = base::GetBoolProperty("debug.sf.send_early_power_session_hint"s, false)};
}
LatchUnsignaledConfig SurfaceFlinger::getLatchUnsignaledConfig() {