summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterWBalance.java
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2013-06-03 15:41:36 -0700
committerRuben Brunk <rubenbrunk@google.com>2013-06-05 10:50:46 -0700
commit17fbd7949abfd2dee5b15e443611c56dac2d6ef3 (patch)
treea44c2c219a66d91bc725b677c350f7716ab34f21 /src/com/android/gallery3d/filtershow/filters/ImageFilterWBalance.java
parent8ce743f577b2056519fd8e74da272c461ff74e33 (diff)
downloadandroid_packages_apps_Snap-17fbd7949abfd2dee5b15e443611c56dac2d6ef3.tar.gz
android_packages_apps_Snap-17fbd7949abfd2dee5b15e443611c56dac2d6ef3.tar.bz2
android_packages_apps_Snap-17fbd7949abfd2dee5b15e443611c56dac2d6ef3.zip
Removing unused UI fields in FilterRepresentation.
Bug: 9170644 Change-Id: Ic197123286e06d9eb64d30eb345f8cc5797659a2
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterWBalance.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterWBalance.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterWBalance.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterWBalance.java
index 84a14c902..6bb88ec21 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterWBalance.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterWBalance.java
@@ -33,10 +33,8 @@ public class ImageFilterWBalance extends ImageFilter {
FilterRepresentation representation = new FilterDirectRepresentation("WBalance");
representation.setSerializationName(SERIALIZATION_NAME);
representation.setFilterClass(ImageFilterWBalance.class);
- representation.setPriority(FilterRepresentation.TYPE_WBALANCE);
+ representation.setFilterType(FilterRepresentation.TYPE_WBALANCE);
representation.setTextId(R.string.wbalance);
- representation.setButtonId(R.id.wbalanceButton);
- representation.setShowEditingControls(false);
representation.setShowParameterValue(false);
representation.setEditorId(ImageOnlyEditor.ID);
representation.setSupportsPartialRendering(true);