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

This commit is contained in:
Jesse Hall 2013-10-13 20:13:59 +00:00 committed by Android (Google) Code Review
commit 44e45cfeb3

View File

@ -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;