summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorzhuw <zhuw@codeaurora.org>2017-10-31 09:42:41 +0800
committerzhuw <zhuw@codeaurora.org>2017-10-31 15:18:05 +0800
commit40ba086c3c9d4a581c043de0992549c86e247e57 (patch)
tree844573b487dd9a5f162803e539c2ad7f0c993bec /res/values
parent9761b535108dde4f39cacfb990936e2dd599b6b0 (diff)
downloadandroid_packages_apps_Snap-40ba086c3c9d4a581c043de0992549c86e247e57.tar.gz
android_packages_apps_Snap-40ba086c3c9d4a581c043de0992549c86e247e57.tar.bz2
android_packages_apps_Snap-40ba086c3c9d4a581c043de0992549c86e247e57.zip
SnapdragonCamera: Fix snapshot delay after add AFmode in dev
change default value from AUTO to CONTINUOUS_PICTURE Change-Id: If6afd589c805de449eea000e7289a52e83a33843 CRs-Fixed: 2135297
Diffstat (limited to 'res/values')
-rwxr-xr-xres/values/camera2arrays.xml2
-rwxr-xr-xres/values/qcomstrings.xml4
2 files changed, 5 insertions, 1 deletions
diff --git a/res/values/camera2arrays.xml b/res/values/camera2arrays.xml
index 31bfe6987..014a4820e 100755
--- a/res/values/camera2arrays.xml
+++ b/res/values/camera2arrays.xml
@@ -1097,6 +1097,7 @@ for time lapse recording -->
</string-array>
<string-array name="pref_camera2_afmode_entries">
+ <item>@string/pref_camera2_afmode_entry_off</item>
<item>@string/pref_camera2_afmode_entry_auto</item>
<item>@string/pref_camera2_afmode_entry_macro</item>
<item>@string/pref_camera2_afmode_entry_continuous_video</item>
@@ -1105,6 +1106,7 @@ for time lapse recording -->
</string-array>
<string-array name="pref_camera2_afmode_entryvalues">
+ <item>@string/pref_camera2_afmode_value_off</item>
<item>@string/pref_camera2_afmode_value_auto</item>
<item>@string/pref_camera2_afmode_value_macro</item>
<item>@string/pref_camera2_afmode_value_continuous_video</item>
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index 142af9059..1290b5ca4 100755
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -1195,13 +1195,15 @@
<string name="pref_camera2_sharpness_control_entry_level5" translatable="false">Level 5</string>
<string name="pref_camera2_sharpness_control_entry_level6" translatable="false">Level 6</string>
- <string name="pref_camera2_afmode_default" translatable="false">1</string>
+ <string name="pref_camera2_afmode_default" translatable="false">4</string>
<string name="pref_camera2_afmode_title">Auto Focus Mode</string>
+ <string name="pref_camera2_afmode_entry_off">Off</string>
<string name="pref_camera2_afmode_entry_auto">Auto</string>
<string name="pref_camera2_afmode_entry_macro">Macro</string>
<string name="pref_camera2_afmode_entry_continuous_video">Continuous Video</string>
<string name="pref_camera2_afmode_entry_continuous_picture">Continuous Picture</string>
<string name="pref_camera2_afmode_entry_edof">EDOF</string>
+ <string name="pref_camera2_afmode_value_off" translatable="false">0</string>
<string name="pref_camera2_afmode_value_auto" translatable="false">1</string>
<string name="pref_camera2_afmode_value_macro" translatable="false">2</string>
<string name="pref_camera2_afmode_value_continuous_video" translatable="false">3</string>