summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorPaul Keith <javelinanddart@gmail.com>2018-01-09 01:33:00 +0100
committerChippa-a <vusal1372@gmail.com>2019-10-25 15:55:25 +0300
commit7051a282eddc9e96da2da3b74d246d04b481289c (patch)
treeb3273813d8a55e4d3d9f6fcd1c3979d29f7f5a65 /res/values
parent91d95246ed56d345a1e96da2974cae6e50301ffa (diff)
downloadandroid_packages_apps_Snap-7051a282eddc9e96da2da3b74d246d04b481289c.tar.gz
android_packages_apps_Snap-7051a282eddc9e96da2da3b74d246d04b481289c.tar.bz2
android_packages_apps_Snap-7051a282eddc9e96da2da3b74d246d04b481289c.zip
Snap: Rip out hdr-need-1x option
* This breaks HDR on every device that has this param, because this makes the camera HAL return *1* e*x*tra frame at 0 exposure, and since Snap doesn't know what to do with this extra frame, it erroneously saves it as a second picture on device storage * Remove this option entirely to make HDR great again Change-Id: I8ef4072eb030f4ab6e608a0da268274a3dc58e34
Diffstat (limited to 'res/values')
-rwxr-xr-xres/values/qcomarrays.xml12
-rwxr-xr-xres/values/qcomstrings.xml14
2 files changed, 1 insertions, 25 deletions
diff --git a/res/values/qcomarrays.xml b/res/values/qcomarrays.xml
index 2abe5fae7..3f5a47da0 100755
--- a/res/values/qcomarrays.xml
+++ b/res/values/qcomarrays.xml
@@ -829,17 +829,7 @@
<item>@string/pref_hdr_mode_value_multi_frame</item>
</string-array>
- <!-- Camera Preferences Selectable HDR need 1x frame -->
- <string-array name="pref_camera_hdr_need_1x_entries" translatable="false">
- <item>@string/pref_camera_hdr_need_1x_entry_false</item>
- <item>@string/pref_camera_hdr_need_1x_entry_true</item>
- </string-array>
-
- <string-array name="pref_camera_hdr_need_1x_entryvalues" translatable="false">
- <item>@string/pref_hdr_need_1x_value_false</item>
- <item>@string/pref_hdr_need_1x_value_true</item>
- </string-array>
- <string-array name="pref_camera_tsmakeup_entries">
+ <string-array name="pref_camera_tsmakeup_entries">
<item>@string/pref_camera_tsmakeup_entry_off</item>
<item>@string/pref_camera_tsmakeup_entry_on</item>
</string-array>
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index e9e6c7bd5..b1cbe321e 100755
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -860,20 +860,6 @@
<string name="pref_hdr_mode_value_sensor">hdr-mode-sensor</string>
<string name="pref_hdr_mode_value_multi_frame">hdr-mode-multiframe</string>
- <!-- Settings screen, Selectable HDR need 1x frame default value -->
- <string name="pref_camera_hdr_need_1x_default">@string/pref_hdr_need_1x_value_true</string>
-
- <!-- Settings screen, Selectable HDR need 1x frame title -->
- <string name="pref_camera_hdr_need_1x_title">HDR need 1x frame</string>
-
- <!-- Settings screen, Selectable HDR need 1x frame radio button choices -->
- <string name="pref_camera_hdr_need_1x_entry_false">@string/setting_off</string>
- <string name="pref_camera_hdr_need_1x_entry_true">@string/setting_on</string>
-
- <!-- HDR need 1x frame entry values. Do not translate. -->
- <string name="pref_hdr_need_1x_value_false">false</string>
- <string name="pref_hdr_need_1x_value_true">true</string>
-
<!--Default video rotation setting-->
<string name="pref_camera_video_rotation_default" translatable="false">0</string>