summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorxianming wang <mingwax@codeaurora.org>2018-09-07 10:42:34 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2019-01-06 21:56:39 -0800
commitc1a696583dac3da1853f582e4fac6a1eca4cfac5 (patch)
treead4355fce3e51385378f777248327ef3f2fdbdd4 /res/values
parent31c7c217712785479fa3b7824761cea2cb138284 (diff)
downloadandroid_packages_apps_Snap-c1a696583dac3da1853f582e4fac6a1eca4cfac5.tar.gz
android_packages_apps_Snap-c1a696583dac3da1853f582e4fac6a1eca4cfac5.tar.bz2
android_packages_apps_Snap-c1a696583dac3da1853f582e4fac6a1eca4cfac5.zip
SnapdragonCamera: Add abortCaptures for flush
Add abortCaptures for flush. (1) when exit app. (2) when switch cameraID. (3) start recording before closePreview session. (4) stop recording except enable EIS. CRs-Fixed: 2349737 Change-Id: I4546fbfefa3ffa4bcec688a6b5c6eea24045f232
Diffstat (limited to 'res/values')
-rwxr-xr-xres/values/camera2arrays.xml11
-rwxr-xr-xres/values/qcomstrings.xml7
2 files changed, 18 insertions, 0 deletions
diff --git a/res/values/camera2arrays.xml b/res/values/camera2arrays.xml
index f34d2f81e..eecfbf2ec 100755
--- a/res/values/camera2arrays.xml
+++ b/res/values/camera2arrays.xml
@@ -1228,4 +1228,15 @@ for time lapse recording -->
<item>@string/pref_camera2_fs2_entry_value_disable</item>
<item>@string/pref_camera2_fs2_entry_value_enable</item>
</string-array>
+
+ <string-array name="pref_camera2_abort_captures_entries" translatable="false">
+ <item>@string/pref_camera2_abort_captures_entry_disable</item>
+ <item>@string/pref_camera2_abort_captures_entry_enable</item>
+ </string-array>
+
+ <string-array name="pref_camera2_abort_captures_entryvalues" translatable="false">
+ <item>@string/pref_camera2_abort_captures_entry_value_disable</item>
+ <item>@string/pref_camera2_abort_captures_entry_value_enable</item>
+ </string-array>
+
</resources>
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index 50f70f0ea..e0dd8b3d1 100755
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -1298,5 +1298,12 @@
<string name="pref_camera2_fs2_entry_value_enable" translatable="false">1</string>
<string name="pref_camera2_fs2_entry_value_disable" translatable="false">0</string>
+ <string name="pref_camera2_abort_captures_title" translatable="true">Abort Captures</string>
+ <string name="pref_camera2_abort_captures_default" translatable="false">1</string>
+ <string name="pref_camera2_abort_captures_entry_enable" translatable="true">enable</string>
+ <string name="pref_camera2_abort_captures_entry_disable" translatable="true">disable</string>
+ <string name="pref_camera2_abort_captures_entry_value_enable" translatable="false">1</string>
+ <string name="pref_camera2_abort_captures_entry_value_disable" translatable="false">0</string>
+
</resources>