diff options
author | nicolasroard <nicolasroard@google.com> | 2013-03-30 12:08:58 -0700 |
---|---|---|
committer | nicolasroard <nicolasroard@google.com> | 2013-03-30 12:08:58 -0700 |
commit | 8ad7dab950fe61cdeeb6899c659f3df04c2a7e36 (patch) | |
tree | 7d4951ab92898eedccd36d730b45e42b5657b675 /src | |
parent | f08e03a53fb35398d2069f4ed6357aa914dc499e (diff) | |
download | android_packages_apps_Snap-8ad7dab950fe61cdeeb6899c659f3df04c2a7e36.tar.gz android_packages_apps_Snap-8ad7dab950fe61cdeeb6899c659f3df04c2a7e36.tar.bz2 android_packages_apps_Snap-8ad7dab950fe61cdeeb6899c659f3df04c2a7e36.zip |
Fixes some state synchronization issues
Change-Id: Iea0f2b8d9c885795bddfb0d3001c8a351caed63c
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java index b92460d99..7e0e25d61 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java @@ -63,7 +63,8 @@ public class FilterRepresentation implements Cloneable { representation.setShowEditingControls(showEditingControls()); representation.setShowParameterValue(showParameterValue()); representation.setShowUtilityPanel(showUtilityPanel()); - representation.mTempRepresentation = null; + representation.mTempRepresentation = + mTempRepresentation != null ? mTempRepresentation.clone() : null; if (DEBUG) { Log.v(LOGTAG, "cloning from <" + this + "> to <" + representation + ">"); } |