diff options
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java index 9d103d590..b192b5aaa 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java @@ -73,7 +73,7 @@ public class FilterRepresentation implements Cloneable { if (representation == null) { return false; } - if (representation.mFilterClass == representation.mFilterClass + if (representation.mFilterClass == mFilterClass && representation.mName.equalsIgnoreCase(mName) && representation.mPriority == mPriority && representation.mSupportsPartialRendering == mSupportsPartialRendering @@ -154,7 +154,7 @@ public class FilterRepresentation implements Cloneable { } } - public boolean allowsMultipleInstances() { + public boolean allowsSingleInstanceOnly() { return false; } |