summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/values/cm_strings.xml1
-rw-r--r--res/xml/video_preferences.xml2
-rw-r--r--src/com/android/camera/VideoModule.java2
3 files changed, 3 insertions, 2 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index be2d3286b..5ec63f3e2 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -199,6 +199,7 @@
<!-- Touch focus duration -->
<string name="pref_camera_focustime_title">Touch focus duration</string>
<string name="pref_camera_focustime_default" translatable="false">3000</string>
+ <string name="pref_camera_video_focustime_default" translatable="false">200</string>
<string name="pref_camera_focustime_entry_0">0s</string>
<string name="pref_camera_focustime_entry_3">3s</string>
diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml
index 48d192d3e..564acedf1 100644
--- a/res/xml/video_preferences.xml
+++ b/res/xml/video_preferences.xml
@@ -174,7 +174,7 @@
camera:entryValues="@array/pref_video_focusmode_entryvalues" />
<IconListPreference
camera:key="pref_camera_video_focustime_key"
- camera:defaultValue="@string/pref_camera_focustime_default"
+ camera:defaultValue="@string/pref_camera_video_focustime_default"
camera:title="@string/pref_camera_focustime_title"
camera:singleIcon="@drawable/ic_settings_focus_time"
camera:entries="@array/pref_camera_focustime_duration_entries"
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index c1f7eb90b..39f54b979 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -2533,7 +2533,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))));
}
@SuppressWarnings("deprecation")