Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adf3724a authored by Long Ling's avatar Long Ling Committed by android-build-merger
Browse files

Merge "Update the minimum interval to resync to HWVsync" into qt-r1-dev

am: bdd785a4

Change-Id: I73c0ca25db37a37b688fe5125f7e4614848dcac9
parents 63bbbb4e bdd785a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ ResyncCallback Scheduler::makeResyncCallback(GetVsyncPeriod&& getVsyncPeriod) {
}

void Scheduler::VsyncState::resync(const GetVsyncPeriod& getVsyncPeriod) {
    static constexpr nsecs_t kIgnoreDelay = ms2ns(500);
    static constexpr nsecs_t kIgnoreDelay = ms2ns(750);

    const nsecs_t now = systemTime();
    const nsecs_t last = lastResyncTime.exchange(now);