summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwqi <wqi@codeaurora.org>2016-02-25 06:05:35 -0100
committerwqi <wqi@codeaurora.org>2016-02-25 07:25:55 -0100
commitb06088122bebb2034e5952805bbc797fa0afb3e7 (patch)
treee7db778de3aff085dd50625e66cc3cdd46687b25
parentf114d9bba2a8bead30dcf4c82ca64b2e44136ba7 (diff)
downloadandroid_packages_apps_Gallery2-b06088122bebb2034e5952805bbc797fa0afb3e7.tar.gz
android_packages_apps_Gallery2-b06088122bebb2034e5952805bbc797fa0afb3e7.tar.bz2
android_packages_apps_Gallery2-b06088122bebb2034e5952805bbc797fa0afb3e7.zip
Gallery2: fix the done button no response.
The done button may be set to disable if picture not change. Keep done button always enable. Change-Id: Idd8f68b301e9eaf038371496b75ff3ee3e6dbba2 CRs-Fixed: 980319
-rw-r--r--src/com/android/gallery3d/filtershow/imageshow/MasterImage.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java b/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
index ec0b1476c..c1c9d693d 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
@@ -807,9 +807,6 @@ public class MasterImage implements RenderingRequestCaller {
notifyObservers();
needsCheckModification = true;
}
- if (needsCheckModification) {
- mActivity.enableSave(hasModifications());
- }
}
public float getScaleFactor() {