summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-04-15 22:10:43 -0700
committerJohn Hoford <hoford@google.com>2013-04-17 09:39:13 -0700
commitafa8ed9d46e760d4b0c0331cfcb4bb49ef6ba280 (patch)
treee25c28c831c6d131cb01d89d8480b3b455bc852e /src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
parent5eab0b8e7a7b74d3b2d20a222312680591cb98b6 (diff)
downloadandroid_packages_apps_Gallery2-afa8ed9d46e760d4b0c0331cfcb4bb49ef6ba280.tar.gz
android_packages_apps_Gallery2-afa8ed9d46e760d4b0c0331cfcb4bb49ef6ba280.tar.bz2
android_packages_apps_Gallery2-afa8ed9d46e760d4b0c0331cfcb4bb49ef6ba280.zip
Support for save state in images
bug:8626775 Change-Id: I2a34a6027b23dab9c1802f672bfbf399cac0c4f7
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
index b0b0b2dd8..6fdcd249b 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
@@ -21,7 +21,7 @@ import com.android.gallery3d.R;
import android.graphics.Bitmap;
public class ImageFilterExposure extends SimpleImageFilter {
-
+ private static final String SERIALIZATION_NAME = "EXPOSURE";
public ImageFilterExposure() {
mName = "Exposure";
}
@@ -30,6 +30,7 @@ public class ImageFilterExposure extends SimpleImageFilter {
FilterBasicRepresentation representation =
(FilterBasicRepresentation) super.getDefaultRepresentation();
representation.setName("Exposure");
+ representation.setSerializationName(SERIALIZATION_NAME);
representation.setFilterClass(ImageFilterExposure.class);
representation.setTextId(R.string.exposure);
representation.setButtonId(R.id.exposureButton);