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

* commit '44e45cfeb37a04c206730b12ff001525ebe42a7b':
  DispSync: don't compensate for wakeup latency
This commit is contained in:
Jesse Hall 2013-10-13 13:18:58 -07:00 committed by Android Git Automerger
commit 44b09f8b55

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;