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

Commit 2008e3ef 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 d6a9447c 869347fc
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;
                }