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

Commit 72b3524e authored by Rebecca Schultz Zavin's avatar Rebecca Schultz Zavin Committed by Android (Google) Code Review
Browse files

Merge "Set last event time to previous event batch delivery time to apps" into honeycomb-mr1

parents 73016396 f634ded2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -354,8 +354,7 @@ void InputDispatcher::dispatchOnceInnerLocked(nsecs_t keyRepeatTimeout,
                }
#endif

                mThrottleState.lastEventTime = entry->eventTime < currentTime
                        ? entry->eventTime : currentTime;
                mThrottleState.lastEventTime = currentTime;
                mThrottleState.lastDeviceId = deviceId;
                mThrottleState.lastSource = source;
            }