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

Commit 457bef91 authored by Long Ling's avatar Long Ling
Browse files

Update the minimum interval to resync to HWVsync

Bug: 140823887
Test: Manual test with Calculator apps
Change-Id: I705c16534a616bc1a3af4402ba999eeb68871a3f
parent ab6ef6c8
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);