summaryrefslogtreecommitdiffstats
path: root/res/xml/setting_menu_preferences.xml
diff options
context:
space:
mode:
authorjunjiez <junjiez@codeaurora.org>2017-09-08 16:33:32 +0800
committerzhuw <zhuw@codeaurora.org>2017-10-19 13:52:30 +0800
commitcef1351155f01f810d1fd564f0b5fcfdf9194ebe (patch)
tree6912e493bd6e897329211917ebd19a1c52313164 /res/xml/setting_menu_preferences.xml
parentd666f32f4ef1ce511cecf275e76ace21f58d2fbd (diff)
downloadandroid_packages_apps_Snap-cef1351155f01f810d1fd564f0b5fcfdf9194ebe.tar.gz
android_packages_apps_Snap-cef1351155f01f810d1fd564f0b5fcfdf9194ebe.tar.bz2
android_packages_apps_Snap-cef1351155f01f810d1fd564f0b5fcfdf9194ebe.zip
SnapdragonCamera:Add exposure mode
add exposure mode option to dev options in Camera2 Change-Id: I23d1cfb0e7b03816bfdadea4bebdfc59788a49f7 CRs-Fixed: 2128685
Diffstat (limited to 'res/xml/setting_menu_preferences.xml')
-rwxr-xr-x[-rw-r--r--]res/xml/setting_menu_preferences.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/xml/setting_menu_preferences.xml b/res/xml/setting_menu_preferences.xml
index a8a2ce07f..b65b77bea 100644..100755
--- a/res/xml/setting_menu_preferences.xml
+++ b/res/xml/setting_menu_preferences.xml
@@ -392,5 +392,14 @@
android:layout="@layout/preference"
android:summary="%s"
android:title="@string/pref_camera2_afmode_title" />
+
+ <ListPreference
+ android:defaultValue="@string/pref_camera2_exposure_metering_default"
+ android:entries="@array/pref_camera2_exposure_metering_entries"
+ android:entryValues="@array/pref_camera2_exposure_metering_entryvalues"
+ android:key="pref_camera2_exposure_metering_key"
+ android:layout="@layout/preference"
+ android:summary="%s"
+ android:title="@string/pref_camera2_exposure_metering_title" />
</PreferenceCategory>
</PreferenceScreen>