summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-03-11 11:10:22 -0700
committerJohn Hoford <hoford@google.com>2013-03-11 14:22:57 -0700
commit6a07dfbe03c8396cc43840a1630ea480a2cff663 (patch)
tree06e5bbf6e9accadbf90bc35bd7ad38afa1604c95 /src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java
parentde175c806c524e08b4ca7c6ec991a5610c3856d9 (diff)
downloadandroid_packages_apps_Gallery2-6a07dfbe03c8396cc43840a1630ea480a2cff663.tar.gz
android_packages_apps_Gallery2-6a07dfbe03c8396cc43840a1630ea480a2cff663.tar.bz2
android_packages_apps_Gallery2-6a07dfbe03c8396cc43840a1630ea480a2cff663.zip
refactoring to make Editor classes do more
Change-Id: Id0885929cf3a9410bd0e5d3bf96eb99e8c7e1cf9
Diffstat (limited to 'src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java')
-rw-r--r--src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java b/src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java
index c0fcdffd6..4b005c459 100644
--- a/src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java
+++ b/src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java
@@ -43,9 +43,8 @@ public class EditorTinyPlanet extends BasicEditor {
@Override
public void reflectCurrentFilter() {
super.reflectCurrentFilter();
-
FilterRepresentation rep = getLocalRepresentation();
- if (rep != null && getLocalRepresentation() instanceof FilterTinyPlanetRepresentation) {
+ if (rep != null && rep instanceof FilterTinyPlanetRepresentation) {
FilterTinyPlanetRepresentation drawRep = (FilterTinyPlanetRepresentation) rep;
mImageTinyPlanet.setRepresentation(drawRep);
}