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

Commit 44e45cfe authored by Jesse Hall's avatar Jesse Hall Committed by Android (Google) Code Review
Browse files

Merge "DispSync: don't compensate for wakeup latency" into klp-dev

parents 6410c8c4 0d5c60ed
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;