Skip to content

Commit 0f47303

Browse files
committed
SF: VsyncTimeline::isVSyncInPhase should use display rate [unflagged]
Remove the flag for the fix in commit 4a719e8 so it will be enabled on android15-tests-dev (GSI) release. Bug: 328352850 Bug: 355684882 Bug: 380359880 Test: see b/355684882 Flags: EXEMPT bugfix Change-Id: I02deca58bfd9a2cf169c2e58995cc42eeb854c8d Merged-In: I02deca58bfd9a2cf169c2e58995cc42eeb854c8d
1 parent e4c3e22 commit 0f47303

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)