summaryrefslogtreecommitdiffstats
path: root/res/xml/setting_menu_preferences.xml
diff options
context:
space:
mode:
authorweijiew <weijiew@codeaurora.org>2016-11-01 10:22:41 +0800
committerJay Wang <jaywang@codeaurora.org>2016-11-07 14:28:58 -0800
commit0c43eccb63dae31813b998a92e1d50b29a41be04 (patch)
tree58b551a7c372b3bfbe7ab197752aa27f9d3bf5b7 /res/xml/setting_menu_preferences.xml
parent42310c1395c0a132430e4e31c702861d8b41dc11 (diff)
downloadandroid_packages_apps_Snap-0c43eccb63dae31813b998a92e1d50b29a41be04.tar.gz
android_packages_apps_Snap-0c43eccb63dae31813b998a92e1d50b29a41be04.tar.bz2
android_packages_apps_Snap-0c43eccb63dae31813b998a92e1d50b29a41be04.zip
SnapdragonCamera: FR36364 Restore Defaults
Restore all of the camera settings to defaults Change-Id: Icebc84a165a1fabee2075daa9b4e99695204cc19 CRs-Fixed: 1084321
Diffstat (limited to 'res/xml/setting_menu_preferences.xml')
-rw-r--r--res/xml/setting_menu_preferences.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/xml/setting_menu_preferences.xml b/res/xml/setting_menu_preferences.xml
index 835fed504..ba140f4ff 100644
--- a/res/xml/setting_menu_preferences.xml
+++ b/res/xml/setting_menu_preferences.xml
@@ -259,6 +259,18 @@
android:key="pref_camera2_trackingfocus_key"
android:layout="@layout/preference"
android:title="@string/pref_camera2_trackingfocus_title" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:layout="@layout/preferences_category"
+ android:title="@string/pref_camera2_category_system"
+ android:textAllCaps="false">
+ <Preference
+ android:defaultValue="false"
+ android:icon="@drawable/restore_defaults"
+ android:key="pref_camera2_restore_default_key"
+ android:layout="@layout/preference"
+ android:title="@string/pref_camera2_restore_default" />
<Preference
android:defaultValue="false"