From dffe6a6f8bbf4565df211b07bcfc23d6864a48b6 Mon Sep 17 00:00:00 2001 From: nicolasroard Date: Wed, 24 Oct 2012 22:02:40 -0700 Subject: [PATCH] Fix default for tiny planet bug:7410938 Change-Id: If43317c2ad1e22ca1a3d3de1eef91ea2556252dd --- .../android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.11.0