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

Commit cc87cfa2 authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Fix order of initialization arguments for obtained MotionEvents." into mnc-dev

parents 89124000 7a629cc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -370,7 +370,7 @@ static jlong android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz
        env->DeleteLocalRef(pointerCoordsObj);
        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,
            xOffset, yOffset, xPrecision, yPrecision,
            downTimeNanos, eventTimeNanos, pointerCount, pointerProperties, rawPointerCoords);
            downTimeNanos, eventTimeNanos, pointerCount, pointerProperties, rawPointerCoords);