summaryrefslogtreecommitdiff
path: root/src/com/android/camera/CaptureModule.java
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-10-13 16:20:44 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-13 17:39:02 -0700
commit1ecf41fcb4c095308ed48daed79d88f8416832c3 (patch)
treef73c56faa39c478c59d249f88d35a7eab4f5b3e7 /src/com/android/camera/CaptureModule.java
parent83d4e541a63de5026dca6c00d869a469e3a1d9ab (diff)
SnapdragonCamera: Reset zoom value when resuming
When pause/resuming, reset zoom value to default value Change-Id: Ib1313009cfd8c44daa2032d20da863fe10eeddf0 CRs-Fixed: 1066519
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rw-r--r--src/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 ddee816a5..b4bb8bc98 100644
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -1824,6 +1824,7 @@ public class CaptureModule implements CameraModule, PhotoController,
mState[i] = STATE_PREVIEW;
}
mLongshotActive = false;
+ mZoomValue = 1.0f;
}
private ArrayList<Integer> getFrameProcFilterId() {