diff options
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java index 2dbff94bd..abe69d110 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterFxRepresentation.java @@ -19,7 +19,6 @@ package com.android.gallery3d.filtershow.filters; import com.android.gallery3d.filtershow.editors.ImageOnlyEditor; public class FilterFxRepresentation extends FilterRepresentation { - private static final String SERIALIZATION_NAME = "LUT3D"; private static final String LOGTAG = "FilterFxRepresentation"; // TODO: When implementing serialization, we should find a unique way of // specifying bitmaps / names (the resource IDs being random) @@ -28,7 +27,6 @@ public class FilterFxRepresentation extends FilterRepresentation { public FilterFxRepresentation(String name, int bitmapResource, int nameResource) { super(name); - setSerializationName(SERIALIZATION_NAME + "_" + name); setFilterClass(ImageFilterFx.class); mBitmapResource = bitmapResource; mNameResource = nameResource; @@ -58,6 +56,7 @@ public class FilterFxRepresentation extends FilterRepresentation { if (a instanceof FilterFxRepresentation) { FilterFxRepresentation representation = (FilterFxRepresentation) a; setName(representation.getName()); + setSerializationName(representation.getSerializationName()); setBitmapResource(representation.getBitmapResource()); setNameResource(representation.getNameResource()); } |