Skip to content

Commit 19dd036

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "SF: VsyncTimeline::isVSyncInPhase should use display rate [unflagged]" into android15-tests-dev
2 parents e2c594e + 0f47303 commit 19dd036

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

services/surfaceflinger/Scheduler/VSyncPredictor.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -737,9 +737,7 @@ bool VSyncPredictor::VsyncTimeline::isVSyncInPhase(Model model, nsecs_t vsync, F
737737
return ticks<std::milli, float>(TimePoint::fromNs(timePoint) - now);
738738
};
739739

740-
Fps displayFps = !FlagManager::getInstance().vrr_bugfix_24q4() && mRenderRateOpt
741-
? *mRenderRateOpt
742-
: Fps::fromPeriodNsecs(mIdealPeriod.ns());
740+
Fps displayFps = Fps::fromPeriodNsecs(mIdealPeriod.ns());
743741
const auto divisor = RefreshRateSelector::getFrameRateDivisor(displayFps, frameRate);
744742
const auto now = TimePoint::now();
745743

0 commit comments

Comments
 (0)