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

Commit cbd30f6a authored by Siarhei Vishniakou's avatar Siarhei Vishniakou Committed by Automerger Merge Worker
Browse files

Merge "Toast: Fix MotionEvent has too many PointerCoords" am: 583954b0 am:...

Merge "Toast: Fix MotionEvent has too many PointerCoords" am: 583954b0 am: a826c8f3 am: 9877bcfd am: ead9ee63 am: 0ee750f3

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2200465



Change-Id: I86149fce584c8fd6f24a47314e69cf2edc0a9f19
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c2af7c0e 0ee750f3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -949,6 +949,8 @@ std::ostream& operator<<(std::ostream& out, const MotionEvent& event) {
        out << ", actionButton=" << std::to_string(event.getActionButton());
    }
    const size_t pointerCount = event.getPointerCount();
    LOG_ALWAYS_FATAL_IF(pointerCount > MAX_POINTERS, "Too many pointers : pointerCount = %zu",
                        pointerCount);
    for (size_t i = 0; i < pointerCount; i++) {
        out << ", id[" << i << "]=" << event.getPointerId(i);
        float x = event.getX(i);