Merge cherrypicks of ['googleplex-android-review.googlesource.com/28535721'] into 24Q3-release.
Change-Id: Iaacc63e7a24129abec9b177624c86cd722aba8c8
diff --git a/services/surfaceflinger/Scheduler/VSyncPredictor.cpp b/services/surfaceflinger/Scheduler/VSyncPredictor.cpp
index dd3c4b0..1422cfa 100644
--- a/services/surfaceflinger/Scheduler/VSyncPredictor.cpp
+++ b/services/surfaceflinger/Scheduler/VSyncPredictor.cpp
@@ -737,9 +737,7 @@
return ticks<std::milli, float>(TimePoint::fromNs(timePoint) - now);
};
- Fps displayFps = !FlagManager::getInstance().vrr_bugfix_24q4() && mRenderRateOpt
- ? *mRenderRateOpt
- : Fps::fromPeriodNsecs(mIdealPeriod.ns());
+ Fps displayFps = Fps::fromPeriodNsecs(mIdealPeriod.ns());
const auto divisor = RefreshRateSelector::getFrameRateDivisor(displayFps, frameRate);
const auto now = TimePoint::now();