From 1ffe73e1e757b3c658f24c151358bfb4163460ba Mon Sep 17 00:00:00 2001 From: John Hoford Date: Wed, 17 Apr 2013 20:40:25 -0700 Subject: fixed borders issues bug:8315216 Change-Id: I04d62984c70e7e514b8625e6a4b5ed9395137471 --- src/com/android/gallery3d/filtershow/PanelController.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com/android/gallery3d/filtershow/PanelController.java') diff --git a/src/com/android/gallery3d/filtershow/PanelController.java b/src/com/android/gallery3d/filtershow/PanelController.java index e9a913610..2cd70e3aa 100644 --- a/src/com/android/gallery3d/filtershow/PanelController.java +++ b/src/com/android/gallery3d/filtershow/PanelController.java @@ -598,6 +598,7 @@ public class PanelController implements OnClickListener { mCurrentEditor = null; FilterIconButton component = (FilterIconButton) view; FilterRepresentation representation = component.getFilterRepresentation(); + if (representation != null) { mUtilityPanel.setEffectName(representation.getName()); mUtilityPanel.setShowParameter(representation.showParameterValue()); -- cgit v1.2.3