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

Commit fd2c26e7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Part of compatibility getRaw() support" into sc-dev am: 50e13406

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14208563

Change-Id: I6db54e8729216335b62a0b935f48d0a6d08c1c06
parents 08309b2f 50e13406
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -155,7 +155,8 @@ status_t NativeInputEventSender::sendMotionEvent(uint32_t seq, const MotionEvent
                                                   event->getYPrecision(),
                                                   event->getRawXCursorPosition(),
                                                   event->getRawYCursorPosition(),
                                                   event->getDownTime(),
                                                   event->getDisplaySize().x,
                                                   event->getDisplaySize().y, event->getDownTime(),
                                                   event->getHistoricalEventTime(i),
                                                   event->getPointerCount(),
                                                   event->getPointerProperties(),
+2 −1
Original line number Diff line number Diff line
@@ -378,7 +378,8 @@ static jlong android_view_MotionEvent_nativeInitialize(
                      flags, edgeFlags, metaState, buttonState,
                      static_cast<MotionClassification>(classification), transform, xPrecision,
                      yPrecision, AMOTION_EVENT_INVALID_CURSOR_POSITION,
                      AMOTION_EVENT_INVALID_CURSOR_POSITION, downTimeNanos, eventTimeNanos,
                      AMOTION_EVENT_INVALID_CURSOR_POSITION, AMOTION_EVENT_INVALID_DISPLAY_SIZE,
                      AMOTION_EVENT_INVALID_DISPLAY_SIZE, downTimeNanos, eventTimeNanos,
                      pointerCount, pointerProperties, rawPointerCoords);

    return reinterpret_cast<jlong>(event.release());