diff options
| author | John Hoford <hoford@google.com> | 2013-08-14 15:49:29 -0700 |
|---|---|---|
| committer | John Hoford <hoford@google.com> | 2013-08-14 15:49:29 -0700 |
| commit | e19cb8725655869092a73bed24a66395dd89013c (patch) | |
| tree | 5de64ffdeddcd462371877928254b8ab721d0f47 /src | |
| parent | df33ed22a313c8f9dac95b947511ee0677d52dbf (diff) | |
| download | android_packages_apps_Gallery2-e19cb8725655869092a73bed24a66395dd89013c.tar.gz android_packages_apps_Gallery2-e19cb8725655869092a73bed24a66395dd89013c.tar.bz2 android_packages_apps_Gallery2-e19cb8725655869092a73bed24a66395dd89013c.zip | |
fix tiny planet launch
bug:8732041
Change-Id: Id874e7e6f9ebc13f740e924e532512e7aadb26dd
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterTinyPlanetRepresentation.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterTinyPlanetRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterTinyPlanetRepresentation.java index be1812957..4f7bc6a15 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterTinyPlanetRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterTinyPlanetRepresentation.java @@ -34,6 +34,7 @@ public class FilterTinyPlanetRepresentation extends FilterBasicRepresentation { setTextId(R.string.tinyplanet); setEditorId(EditorTinyPlanet.ID); setMinimum(1); + setSupportsPartialRendering(false); } @Override @@ -78,6 +79,16 @@ public class FilterTinyPlanetRepresentation extends FilterBasicRepresentation { return false; } + public boolean equals(FilterRepresentation representation) { + if (!super.equals(representation)) { + return false; + } + if (mAngle == ((FilterTinyPlanetRepresentation) representation).mAngle) { + return true; + } + return false; + } + @Override public String[][] serializeRepresentation() { String[][] ret = { |
