summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSultanxda <sultanxda@gmail.com>2015-12-08 18:51:56 -0800
committerSteve Kondik <steve@cyngn.com>2016-11-02 12:24:49 -0700
commit954bfe147d94f35996dcc057946a9779a18e6580 (patch)
tree3712d4b9c6ee7a8e2260c36eb4b569ebb6d0b05a /src
parent8ba5d17c7cdeb5db9fb3db30a63eed48b608df92 (diff)
downloadandroid_packages_apps_Snap-954bfe147d94f35996dcc057946a9779a18e6580.tar.gz
android_packages_apps_Snap-954bfe147d94f35996dcc057946a9779a18e6580.tar.bz2
android_packages_apps_Snap-954bfe147d94f35996dcc057946a9779a18e6580.zip
Snap: Separate default focus time between camera/video
For the camera, the user expects a default tap-to-focus duration of 3 seconds with exposure locking. For the camcorder, however, the user expects a tap-to-focus duration of 0 seconds with no exposure locking, as the rapid change in exposure while recording would negatively impact the video. Separate the tap-to-focus option to reflect the recommended defaults. [mikeioannina]: Adapted to Snap Change-Id: I75bc0610f5d301c9728b4bc104b86e0fab5493fb Signed-off-by: Sultanxda <sultanxda@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/VideoModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index fd7809a9a..0a967bac2 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -2772,7 +2772,7 @@ public class VideoModule implements CameraModule,
// Set focus time.
mFocusManager.setFocusTime(Integer.valueOf(
mPreferences.getString(CameraSettings.KEY_VIDEOCAMERA_FOCUS_TIME,
- mActivity.getString(R.string.pref_camera_focustime_default))));
+ mActivity.getString(R.string.pref_camera_video_focustime_default))));
// Set face detetction parameter.
String faceDetection = mPreferences.getString(