From 17fbd7949abfd2dee5b15e443611c56dac2d6ef3 Mon Sep 17 00:00:00 2001 From: Ruben Brunk Date: Mon, 3 Jun 2013 15:41:36 -0700 Subject: Removing unused UI fields in FilterRepresentation. Bug: 9170644 Change-Id: Ic197123286e06d9eb64d30eb345f8cc5797659a2 --- src/com/android/gallery3d/filtershow/category/Action.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/gallery3d/filtershow/category/Action.java') diff --git a/src/com/android/gallery3d/filtershow/category/Action.java b/src/com/android/gallery3d/filtershow/category/Action.java index 4f2c12868..506b2bf0f 100644 --- a/src/com/android/gallery3d/filtershow/category/Action.java +++ b/src/com/android/gallery3d/filtershow/category/Action.java @@ -149,7 +149,7 @@ public class Action implements RenderingRequestCaller { mRepresentation.getOverlayId()); } if (mOverlayBitmap != null) { - if (getRepresentation().getPriority() == FilterRepresentation.TYPE_BORDER) { + if (getRepresentation().getFilterType() == FilterRepresentation.TYPE_BORDER) { Canvas canvas = new Canvas(mImage); canvas.drawBitmap(mOverlayBitmap, new Rect(0, 0, mOverlayBitmap.getWidth(), mOverlayBitmap.getHeight()), new Rect(0, 0, mImage.getWidth(), mImage.getHeight()), new Paint()); -- cgit v1.2.3