Fixed errors after updated ag/29186008

After ag/29186008 the last event in the PointerInput API can contain
multiple pointers, but always and only one pointer with id
== velocityPointerId.
Completed the swipe gesture in
multiPointerWaitAConsumableEventInMainPass to avoid possible errors.

Test: atest ElementTest
Test: atest MultiPointerDraggableTest
Bug: 365564010
Flag: com.android.systemui.scene_container
Change-Id: I69beecd0ae7c0b993da4812a663ae95077dff749
2 files changed