summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/photoeditor
diff options
context:
space:
mode:
authorMarius Renn <renn@google.com>2011-09-14 17:10:01 -0700
committerMarius Renn <renn@google.com>2011-09-14 17:10:01 -0700
commit1753ac9e74621f86f92a53115d23362534f08105 (patch)
tree29fc95cd4830ff461d08661406e7ff35a1063b0f /src/com/android/gallery3d/photoeditor
parentd3ec7831835a9f656ff72b05a5b3bc01a8c56a4a (diff)
downloadandroid_packages_apps_Gallery2-1753ac9e74621f86f92a53115d23362534f08105.tar.gz
android_packages_apps_Gallery2-1753ac9e74621f86f92a53115d23362534f08105.tar.bz2
android_packages_apps_Gallery2-1753ac9e74621f86f92a53115d23362534f08105.zip
Update for compatibility with Effects API naming change.
Part of bugfix 5287103. NOTE: This will fix the build, but temporarily break the Doodle effect on the photo editor. Will check in fixes later. Change-Id: I4a0e1696965c296ac9388c2ee9c49c0bdcaaf5a1
Diffstat (limited to 'src/com/android/gallery3d/photoeditor')
-rw-r--r--src/com/android/gallery3d/photoeditor/filters/DoodleFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/photoeditor/filters/DoodleFilter.java b/src/com/android/gallery3d/photoeditor/filters/DoodleFilter.java
index 3c4bbf76e..b40f458bd 100644
--- a/src/com/android/gallery3d/photoeditor/filters/DoodleFilter.java
+++ b/src/com/android/gallery3d/photoeditor/filters/DoodleFilter.java
@@ -81,7 +81,7 @@ public class DoodleFilter extends Filter {
canvas.drawPath(drawingPath, paint);
}
- Effect effect = getEffect(context, EffectFactory.EFFECT_DOODLE);
+ Effect effect = getEffect(context, EffectFactory.EFFECT_BITMAPOVERLAY);
effect.setParameter("doodle", bitmap);
effect.apply(src.texture(), src.width(), src.height(), dst.texture());
}