OSDN Git Service

remove an Icon change that introduced a bug
authorJohn Hoford <hoford@google.com>
Fri, 13 Sep 2013 21:41:05 +0000 (14:41 -0700)
committerJohn Hoford <hoford@google.com>
Fri, 13 Sep 2013 21:41:05 +0000 (14:41 -0700)
cl 358665 introduced a bug in the UI for curves & sharpen
This backs out the change to Editor.java

bug:10705772
Change-Id: I46edc834c1db55d7ac38906dc60a42b3f2672509

src/com/android/gallery3d/filtershow/editors/Editor.java

index 59ad1b6..5f8e8f6 100644 (file)
@@ -285,7 +285,7 @@ public class Editor implements OnSeekBarChangeListener, SwapButton.SwapButtonLis
 
     protected void setMenuIcon(boolean on) {
         mEditTitle.setCompoundDrawablesRelativeWithIntrinsicBounds(
-                0, 0, 0, on ? R.drawable.filtershow_menu_marker : 0);
+                0, 0, on ? R.drawable.filtershow_menu_marker : 0, 0);
     }
 
     protected void createMenu(int[] strId, View button) {