diff options
author | Long Ling <longling@google.com> | 2019-09-11 14:43:11 -0700 |
---|---|---|
committer | Long Ling <longling@google.com> | 2019-09-12 18:27:48 +0000 |
commit | 457bef9139e9e756aa487703d75ee5e0844d9076 (patch) | |
tree | 2016ca2bc3bffd762c7bcdcc39fe3980ddf5604b | |
parent | ab6ef6c8871506317dc7ada75707c19963daabe4 (diff) | |
download | native-457bef9139e9e756aa487703d75ee5e0844d9076.tar.gz |
Update the minimum interval to resync to HWVsync
Bug: 140823887
Test: Manual test with Calculator apps
Change-Id: I705c16534a616bc1a3af4402ba999eeb68871a3f
-rw-r--r-- | services/surfaceflinger/Scheduler/Scheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Scheduler/Scheduler.cpp b/services/surfaceflinger/Scheduler/Scheduler.cpp index a194106112..63a385561e 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); |