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

Commit 9f164aa9 authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am b05632aa: am a28d5aff: Merge "Fix a bug synthesizing cancelation events for...

am b05632aa: am a28d5aff: Merge "Fix a bug synthesizing cancelation events for motions." into gingerbread

Merge commit 'b05632aa'

* commit 'b05632aa':
  Fix a bug synthesizing cancelation events for motions.
parents 8635bb54 b05632aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3396,7 +3396,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);
        if (shouldCancelEvent(memento.source, options)) {
            outEvents.push(allocator->obtainMotionEntry(currentTime,