diff options
author | ztenghui <ztenghui@google.com> | 2013-06-28 09:25:23 -0700 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2013-07-01 15:45:12 -0700 |
commit | 2185e9b81380f7e43608419743c983c5afee43c4 (patch) | |
tree | 5986f546bfced1a6cca39693b9beffaf82a38865 /src/com/android/gallery3d/filtershow/filters | |
parent | 59e60d36233f4acd67c4542bf849a0bcfce54adc (diff) | |
download | android_packages_apps_Snap-2185e9b81380f7e43608419743c983c5afee43c4.tar.gz android_packages_apps_Snap-2185e9b81380f7e43608419743c983c5afee43c4.tar.bz2 android_packages_apps_Snap-2185e9b81380f7e43608419743c983c5afee43c4.zip |
Fix the save button issue.
When dealing with non Fx filters, the hasModification() really need to go deep
to figure out whether things has changed.
bug:9468909
Change-Id: I89495f147f7af7c35490def84805aae98e3f917f
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java index c046a6e7f..a60410d2b 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java @@ -174,6 +174,9 @@ public class FilterRepresentation implements Cloneable { mFilterClass = filterClass; } + // This same() function is different from equals(), basically it checks + // whether 2 FilterRepresentations are the same type. It doesn't care about + // the values. public boolean same(FilterRepresentation b) { if (b == null) { return false; |