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

Commit 00144745 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Make the throttling more sensitive to end-to-end latency." into gingerbread

parents bccfcd95 0f4d7bc1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -201,7 +201,8 @@ void InputDispatcher::dispatchOnce() {
                    }
#endif

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