diff options
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java index 558af8730..535a39d1a 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java @@ -53,7 +53,6 @@ public class ImageFilterTinyPlanet extends SimpleImageFilter { "CroppedAreaTopPixels"; public ImageFilterTinyPlanet() { - setFilterType(TYPE_TINYPLANET); mName = "TinyPlanet"; } @@ -78,6 +77,7 @@ public class ImageFilterTinyPlanet extends SimpleImageFilter { FilterTinyPlanetRepresentation representation = new FilterTinyPlanetRepresentation(); representation.setName("TinyPlanet"); representation.setFilterClass(ImageFilterTinyPlanet.class); + representation.setFilterType(FilterRepresentation.TYPE_TINYPLANET); return representation; } |