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

Commit 44b09f8b authored by Jesse Hall's avatar Jesse Hall Committed by Android Git Automerger
Browse files

am 44e45cfe: Merge "DispSync: don\'t compensate for wakeup latency" into klp-dev

* commit '44e45cfe':
  DispSync: don't compensate for wakeup latency
parents af4ae923 44e45cfe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ public:
                }

                nextEventTime = computeNextEventTimeLocked(now);
                targetTime = nextEventTime - mWakeupLatency;
                targetTime = nextEventTime;

                bool isWakeup = false;

@@ -228,7 +228,7 @@ private:
            nsecs_t t = computeListenerNextEventTimeLocked(mEventListeners[i],
                    ref);

            if (t - mWakeupLatency < now) {
            if (t < now) {
                CallbackInvocation ci;
                ci.mCallback = mEventListeners[i].mCallback;
                ci.mEventTime = t;