am a28d5aff: Merge "Fix a bug synthesizing cancelation events for motions." into gingerbread
Merge commit 'a28d5aff5466a55149b9e6f9cd908fcc225c25ff' into gingerbread-plus-aosp * commit 'a28d5aff5466a55149b9e6f9cd908fcc225c25ff': Fix a bug synthesizing cancelation events for motions.
This commit is contained in:
@@ -3320,7 +3320,7 @@ void InputDispatcher::InputState::synthesizeCancelationEvents(nsecs_t currentTim
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (size_t i = 0; i < mMotionMementos.size(); i++) {
|
for (size_t i = 0; i < mMotionMementos.size(); ) {
|
||||||
const MotionMemento& memento = mMotionMementos.itemAt(i);
|
const MotionMemento& memento = mMotionMementos.itemAt(i);
|
||||||
if (shouldCancelEvent(memento.source, options)) {
|
if (shouldCancelEvent(memento.source, options)) {
|
||||||
outEvents.push(allocator->obtainMotionEntry(currentTime,
|
outEvents.push(allocator->obtainMotionEntry(currentTime,
|
||||||
|
|||||||
Reference in New Issue
Block a user