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

Commit c21f43d9 authored by Michael Wright's avatar Michael Wright Committed by The Android Automerger
Browse files

Fix order of initialization arguments for obtained MotionEvents.

Bug: 21330711
Change-Id: I308f7675d2730210228a0c01856616ce07d6374e
parent ccdef258
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -370,7 +370,7 @@ static jlong android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz
        env->DeleteLocalRef(pointerCoordsObj);
    }

    event->initialize(deviceId, source, action, flags, edgeFlags, metaState, buttonState, 0,
    event->initialize(deviceId, source, action, 0, flags, edgeFlags, metaState, buttonState,
            xOffset, yOffset, xPrecision, yPrecision,
            downTimeNanos, eventTimeNanos, pointerCount, pointerProperties, rawPointerCoords);