summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-10-13 16:20:44 -0700
committerArne Coucheron <arco68@gmail.com>2017-06-13 07:16:32 +0200
commitc8a45a3d56310342356e5fe02f2d3ba8978e5dfa (patch)
treefad7f6f29c5016bbf41d3e78f07611a67c71f2d5
parenta5054be425369aa6db59e3a6b900db31a0bd3896 (diff)
downloadandroid_packages_apps_Snap-c8a45a3d56310342356e5fe02f2d3ba8978e5dfa.zip
android_packages_apps_Snap-c8a45a3d56310342356e5fe02f2d3ba8978e5dfa.tar.gz
android_packages_apps_Snap-c8a45a3d56310342356e5fe02f2d3ba8978e5dfa.tar.bz2
SnapdragonCamera: Reset zoom value when resuming
When pause/resuming, reset zoom value to default value Change-Id: Ib1313009cfd8c44daa2032d20da863fe10eeddf0
-rwxr-xr-xsrc/com/android/camera/CaptureModule.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index a0243cd..041e19b 100755
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -1780,6 +1780,7 @@ public class CaptureModule extends BaseModule<CaptureUI> implements PhotoControl
mState[i] = STATE_PREVIEW;
}
mLongshotActive = false;
+ mZoomValue = 1.0f;
}
private void setCurrentMode() {