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
commit6dce07c9ddad36e1d0de957534c948f83bc89e85 (patch)
tree4a373568c00df5bada7e57929a6eb69f9167e260 /src/com/android/gallery3d/photoeditor
parentda84812ef3020e39b9268339a6b70e96b292ff3c (diff)
downloadandroid_packages_apps_Snap-6dce07c9ddad36e1d0de957534c948f83bc89e85.tar.gz
android_packages_apps_Snap-6dce07c9ddad36e1d0de957534c948f83bc89e85.tar.bz2
android_packages_apps_Snap-6dce07c9ddad36e1d0de957534c948f83bc89e85.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());
}