commit | 457bef9139e9e756aa487703d75ee5e0844d9076 | [log] [tgz] |
---|---|---|
author | Long Ling <longling@google.com> | Wed Sep 11 14:43:11 2019 -0700 |
committer | Long Ling <longling@google.com> | Thu Sep 12 18:27:48 2019 +0000 |
tree | 2016ca2bc3bffd762c7bcdcc39fe3980ddf5604b | |
parent | ab6ef6c8871506317dc7ada75707c19963daabe4 [diff] [blame] |
Update the minimum interval to resync to HWVsync Bug: 140823887 Test: Manual test with Calculator apps Change-Id: I705c16534a616bc1a3af4402ba999eeb68871a3f
diff --git a/services/surfaceflinger/Scheduler/Scheduler.cpp b/services/surfaceflinger/Scheduler/Scheduler.cpp index a194106..63a3855 100644 --- a/services/surfaceflinger/Scheduler/Scheduler.cpp +++ b/services/surfaceflinger/Scheduler/Scheduler.cpp
@@ -274,7 +274,7 @@ } 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);