From 31c9a0ff9b2a732e76e03dd38c511b22b4e8c0f1 Mon Sep 17 00:00:00 2001 From: nicolasroard Date: Wed, 24 Oct 2012 22:02:40 -0700 Subject: Fix default for tiny planet bug:7410938 Change-Id: If43317c2ad1e22ca1a3d3de1eef91ea2556252dd --- .../android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java index 7ec136766..61aa21b33 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java @@ -66,6 +66,11 @@ public class ImageFilterTinyPlanet extends ImageFilter { return mAngle; } + public boolean isNil() { + // TinyPlanet always has an effect + return false; + } + native protected void nativeApplyFilter( Bitmap bitmapIn, int width, int height, Bitmap bitmapOut, int outSize, float scale, float angle); -- cgit v1.2.3