From 5d29860222a9acb8b9c4a4b7359da61f2b1d835c Mon Sep 17 00:00:00 2001 From: Jozef BABJAK Date: Tue, 22 Feb 2011 08:06:44 +0100 Subject: Fixing self-assignment in copying code. Change-Id: I0799f83dc9d02b9bc31c76e747e6ba1ff58000b0 --- core/java/android/view/MotionEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/view/MotionEvent.java b/core/java/android/view/MotionEvent.java index c2fec96..952face 100644 --- a/core/java/android/view/MotionEvent.java +++ b/core/java/android/view/MotionEvent.java @@ -620,7 +620,7 @@ public final class MotionEvent extends InputEvent implements Parcelable { ev.mEdgeFlags = o.mEdgeFlags; ev.mDownTimeNano = o.mDownTimeNano; ev.mAction = o.mAction; - o.mFlags = o.mFlags; + ev.mFlags = o.mFlags; ev.mMetaState = o.mMetaState; ev.mXOffset = o.mXOffset; ev.mYOffset = o.mYOffset; -- cgit v1.1