summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLong Ling <longling@google.com>2019-09-11 14:43:11 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-09-20 04:40:32 +0000
commitdb3c96003d465b2d32e690dfac340729d02c6039 (patch)
tree696b345d3f64b408e688eb84e7f33a61ac73e34c
parentaf844e3278b485fce91fc51984b89c80f84d7779 (diff)
downloadnative-db3c96003d465b2d32e690dfac340729d02c6039.tar.gz
Update the minimum interval to resync to HWVsync
Bug: 140823887 Test: Manual test with Calculator apps Change-Id: I705c16534a616bc1a3af4402ba999eeb68871a3f (cherry picked from commit 457bef9139e9e756aa487703d75ee5e0844d9076)
-rw-r--r--services/surfaceflinger/Scheduler/Scheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Scheduler/Scheduler.cpp b/services/surfaceflinger/Scheduler/Scheduler.cpp
index edb58f7a75..5a98232e97 100644
--- a/services/surfaceflinger/Scheduler/Scheduler.cpp
+++ b/services/surfaceflinger/Scheduler/Scheduler.cpp
@@ -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);