diff options
author | zhuw <zhuw@codeaurora.org> | 2017-09-18 09:57:04 +0800 |
---|---|---|
committer | zhuw <zhuw@codeaurora.org> | 2017-09-18 09:57:04 +0800 |
commit | 1360a25fb0208a2c866fb2698b47243e259e4231 (patch) | |
tree | 21cb158ca84ad1407eaa70ebfe421d3895972768 /src/com/android/gallery3d/filtershow | |
parent | d1776b2985f6968276435999088a75a998133ea5 (diff) | |
download | android_packages_apps_Gallery2-1360a25fb0208a2c866fb2698b47243e259e4231.tar.gz android_packages_apps_Gallery2-1360a25fb0208a2c866fb2698b47243e259e4231.tar.bz2 android_packages_apps_Gallery2-1360a25fb0208a2c866fb2698b47243e259e4231.zip |
Fix custom filter don't work when first click after back to original
clear current filter representation when run back to original
Change-Id: Ib07479dcc87a3c99e30f15bb41fe04cade841007
CRs-Fixed: 2099190
Diffstat (limited to 'src/com/android/gallery3d/filtershow')
-rwxr-xr-x | src/com/android/gallery3d/filtershow/FilterShowActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/FilterShowActivity.java b/src/com/android/gallery3d/filtershow/FilterShowActivity.java index 6fa3476a5..670507e01 100755 --- a/src/com/android/gallery3d/filtershow/FilterShowActivity.java +++ b/src/com/android/gallery3d/filtershow/FilterShowActivity.java @@ -2417,6 +2417,7 @@ DialogInterface.OnDismissListener, PopupMenu.OnDismissListener{ mMasterImage.setFusionUnderlay(null); mMasterImage.resetTranslation(); mMasterImage.setScaleFactor(1); + mMasterImage.setCurrentFilterRepresentation(null); ArrayList<FilterRepresentation> frList = FiltersManager.getManager().getTools(); for (FilterRepresentation fr : frList) { if (fr instanceof FilterRotateRepresentation) { |