diff options
Diffstat (limited to 'src/com/android/gallery3d/filtershow/history/HistoryItem.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/history/HistoryItem.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/com/android/gallery3d/filtershow/history/HistoryItem.java b/src/com/android/gallery3d/filtershow/history/HistoryItem.java index 92baef2ac..2baaac327 100644 --- a/src/com/android/gallery3d/filtershow/history/HistoryItem.java +++ b/src/com/android/gallery3d/filtershow/history/HistoryItem.java @@ -29,12 +29,8 @@ public class HistoryItem { public HistoryItem(ImagePreset preset, FilterRepresentation representation) { mImagePreset = new ImagePreset(preset); - try { - if (representation != null) { - mFilterRepresentation = representation.clone(); - } - } catch (CloneNotSupportedException e) { - Log.e(LOGTAG, "clone not supported", e); + if (representation != null) { + mFilterRepresentation = representation.copy(); } } |