summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/pipeline
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-10-11 15:18:52 -0700
committerJohn Hoford <hoford@google.com>2013-10-11 15:18:52 -0700
commit4c107f27eee1c6778c32b3f01f3c628cbcaf0b26 (patch)
tree61cdf7d6c4605bedebdd5760e35e873912c1dfb1 /src/com/android/gallery3d/filtershow/pipeline
parent7835ea8c351802dd6d4c7361fd24a72124a7897d (diff)
downloadandroid_packages_apps_Gallery2-4c107f27eee1c6778c32b3f01f3c628cbcaf0b26.tar.gz
android_packages_apps_Gallery2-4c107f27eee1c6778c32b3f01f3c628cbcaf0b26.tar.bz2
android_packages_apps_Gallery2-4c107f27eee1c6778c32b3f01f3c628cbcaf0b26.zip
fixed crash when applying the none filter
bug:11188884 Change-Id: Id1f5e72b15b307eedccd5d582d3632500f19fdbd
Diffstat (limited to 'src/com/android/gallery3d/filtershow/pipeline')
-rw-r--r--src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java b/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
index 7b8f1b3b5..4322ed700 100644
--- a/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
+++ b/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
@@ -388,7 +388,7 @@ public class ImagePreset {
if (current.getFilterType() == FilterRepresentation.TYPE_FX) {
mFilters.remove(i);
replaced = true;
- if (!isNoneBorderFilter(representation)) {
+ if (!isNoneFxFilter(representation)) {
mFilters.add(i, representation);
}
break;