diff options
author | John Hoford <hoford@google.com> | 2013-03-11 11:10:22 -0700 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-03-11 14:22:57 -0700 |
commit | 6a07dfbe03c8396cc43840a1630ea480a2cff663 (patch) | |
tree | 06e5bbf6e9accadbf90bc35bd7ad38afa1604c95 /src/com/android/gallery3d/filtershow/editors/EditorTinyPlanet.java | |
parent | de175c806c524e08b4ca7c6ec991a5610c3856d9 (diff) | |
download | android_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.java | 3 |
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); } |