Revert "SF: change the min supported frame rate to 1Hz"
This reverts commit 1bcf5292d51d432842d603c56fc9f519ee58687f.
Reason for revert: Fixing the original bug (b/261520501) in a different way that doesn't create a long list of refresh rates divisors
Change-Id: I94f5e0a77cc5cec64190d9ca7de2931e4216d005
diff --git a/services/surfaceflinger/Scheduler/RefreshRateSelector.h b/services/surfaceflinger/Scheduler/RefreshRateSelector.h
index 14d08f8..4f5842a 100644
--- a/services/surfaceflinger/Scheduler/RefreshRateSelector.h
+++ b/services/surfaceflinger/Scheduler/RefreshRateSelector.h
@@ -61,7 +61,7 @@
std::chrono::nanoseconds(800us).count();
// The lowest Render Frame Rate that will ever be selected
- static constexpr Fps kMinSupportedFrameRate = 1_Hz;
+ static constexpr Fps kMinSupportedFrameRate = 20_Hz;
class Policy {
static constexpr int kAllowGroupSwitchingDefault = false;