diff options
author | John Hoford <hoford@google.com> | 2013-02-12 13:42:19 -0800 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-02-12 13:43:29 -0800 |
commit | 80980cbad5867f10d5ad36687db2c5ef3101b5d7 (patch) | |
tree | 763707429a0d00db2432a2f8792d6f431f84d2f3 | |
parent | 32766ee5041cdefb8659c41a7fb075a6256f4b46 (diff) | |
download | android_packages_apps_Snap-80980cbad5867f10d5ad36687db2c5ef3101b5d7.tar.gz android_packages_apps_Snap-80980cbad5867f10d5ad36687db2c5ef3101b5d7.tar.bz2 android_packages_apps_Snap-80980cbad5867f10d5ad36687db2c5ef3101b5d7.zip |
fix the draw clear bug
Change-Id: I1050c3e1ad1280480f35a03c9d29dc1cd44b515f
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java index 89ea5ccc5..e41f0a622 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java @@ -94,7 +94,10 @@ public class FilterDrawRepresentation extends FilterRepresentation { } if (representation.mDrawing != null) { mDrawing = (Vector<StrokeData>) representation.mDrawing.clone(); + } else { + mDrawing = null; } + } catch (CloneNotSupportedException e) { e.printStackTrace(); } |