diff options
author | Alan Newberger <alann@google.com> | 2014-04-21 23:13:26 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-21 23:13:27 +0000 |
commit | 3d73641843682089be63cd248465497f007b93a1 (patch) | |
tree | 10e6e4bbce2e504d8b774ef80f34329e7b2dd54a | |
parent | 6ad0c4ffc3d50a6829a984c2ac37525680fc61eb (diff) | |
parent | 0df318162173a98f703f7711692ea4773b461423 (diff) | |
download | android_packages_apps_Gallery2-3d73641843682089be63cd248465497f007b93a1.tar.gz android_packages_apps_Gallery2-3d73641843682089be63cd248465497f007b93a1.tar.bz2 android_packages_apps_Gallery2-3d73641843682089be63cd248465497f007b93a1.zip |
Merge "Use basic editor for sharpen filter."
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/ImageFilterSharpen.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterSharpen.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterSharpen.java index 3bd794464..418afc40f 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterSharpen.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterSharpen.java @@ -17,6 +17,7 @@ package com.android.gallery3d.filtershow.filters; import com.android.gallery3d.R; +import com.android.gallery3d.filtershow.editors.BasicEditor; public class ImageFilterSharpen extends ImageFilterRS { private static final String SERIALIZATION_NAME = "SHARPEN"; @@ -36,7 +37,7 @@ public class ImageFilterSharpen extends ImageFilterRS { representation.setFilterClass(ImageFilterSharpen.class); representation.setTextId(R.string.sharpness); representation.setOverlayId(R.drawable.filtershow_button_colors_sharpen); - representation.setEditorId(R.id.imageShow); + representation.setEditorId(BasicEditor.ID); representation.setSupportsPartialRendering(true); return representation; } |