summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@android.com>2011-03-15 11:18:18 -0700
committerAndroid Code Review <code-review@android.com>2011-03-15 11:18:18 -0700
commit8b5345fb3647fee0ec5882537b6a68bb90f4ac1b (patch)
tree68496b35eb64760b36953234a200afb15e0cd3de
parent9a01a2f2720632aa9cc230a4ebb0ed7aee762eec (diff)
parent5d29860222a9acb8b9c4a4b7359da61f2b1d835c (diff)
downloadframeworks_base-8b5345fb3647fee0ec5882537b6a68bb90f4ac1b.zip
frameworks_base-8b5345fb3647fee0ec5882537b6a68bb90f4ac1b.tar.gz
frameworks_base-8b5345fb3647fee0ec5882537b6a68bb90f4ac1b.tar.bz2
Merge "Fixing self-assignment in copying code."
-rw-r--r--core/java/android/view/MotionEvent.java2
1 files changed, 1 insertions, 1 deletions
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;