diff options
author | Paul Keith <javelinanddart@gmail.com> | 2018-01-09 01:33:00 +0100 |
---|---|---|
committer | Chippa-a <vusal1372@gmail.com> | 2019-10-25 15:55:25 +0300 |
commit | 7051a282eddc9e96da2da3b74d246d04b481289c (patch) | |
tree | b3273813d8a55e4d3d9f6fcd1c3979d29f7f5a65 /res | |
parent | 91d95246ed56d345a1e96da2974cae6e50301ffa (diff) | |
download | android_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')
-rw-r--r-- | res/drawable/ic_settings_onex.xml | 14 | ||||
-rwxr-xr-x | res/values/qcomarrays.xml | 12 | ||||
-rwxr-xr-x | res/values/qcomstrings.xml | 14 | ||||
-rwxr-xr-x | res/xml/camera_preferences.xml | 7 |
4 files changed, 1 insertions, 46 deletions
diff --git a/res/drawable/ic_settings_onex.xml b/res/drawable/ic_settings_onex.xml deleted file mode 100644 index 5d5efd9b8..000000000 --- a/res/drawable/ic_settings_onex.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportWidth="24" - android:viewportHeight="24"> - - <path - android:pathData="M0 0h24v24H0z" /> - <path - android:fillColor="@color/white" - android:pathData="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1 .9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 -14h-2V9h-2V7h4v10z" /> -</vector> 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> diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml index c39c86e6e..55815ce84 100755 --- a/res/xml/camera_preferences.xml +++ b/res/xml/camera_preferences.xml @@ -365,13 +365,6 @@ camera:entries="@array/pref_camera_hdr_mode_entries" camera:entryValues="@array/pref_camera_hdr_mode_entryvalues" /> <IconListPreference - camera:key="pref_camera_hdr_need_1x_key" - camera:defaultValue="@string/pref_camera_hdr_need_1x_default" - camera:title="@string/pref_camera_hdr_need_1x_title" - camera:singleIcon="@drawable/ic_settings_onex" - camera:entries="@array/pref_camera_hdr_need_1x_entries" - camera:entryValues="@array/pref_camera_hdr_need_1x_entryvalues" /> - <IconListPreference camera:key="pref_camera_manual_exp_key" camera:defaultValue="@string/pref_camera_manual_exp_default" camera:title="@string/pref_camera_manual_exp_title" |