diff options
author | Byunghun Jeon <bjeon@codeaurora.org> | 2016-07-26 16:05:33 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-16 16:14:28 -0700 |
commit | 904d5069547dcb6a90175558ba3c608f0465d1eb (patch) | |
tree | d1a93aa193ad8341232e862f97b14f1a4c15c4cf /res/xml/capture_preferences.xml | |
parent | e379705fbf684da08d1ae3ecb0c49db709deb0b3 (diff) | |
download | android_packages_apps_Snap-904d5069547dcb6a90175558ba3c608f0465d1eb.tar.gz android_packages_apps_Snap-904d5069547dcb6a90175558ba3c608f0465d1eb.tar.bz2 android_packages_apps_Snap-904d5069547dcb6a90175558ba3c608f0465d1eb.zip |
SnapdragonCamera: Add shutter sound to camera2
Add shutter sound menu to settings and allow user to turn on/off
shutter sound in camera2 mode
CRs-Fixed: 1050117
Change-Id: I624f28428415b8dde7da6e4908c26dd59bb3fbdb
Diffstat (limited to 'res/xml/capture_preferences.xml')
-rw-r--r-- | res/xml/capture_preferences.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/xml/capture_preferences.xml b/res/xml/capture_preferences.xml index a55cae460..dae2c5f7d 100644 --- a/res/xml/capture_preferences.xml +++ b/res/xml/capture_preferences.xml @@ -303,4 +303,11 @@ camera:key="pref_selfie_flash_key" camera:singleIcon="@drawable/ic_settings_flash" camera:title="@string/pref_selfie_flash_title" /> + + <ListPreference + camera:defaultValue="@string/pref_camera2_shutter_sound_default" + camera:entries="@array/pref_camera2_shutter_sound_entries" + camera:entryValues="@array/pref_camera2_shutter_sound_entryvalues" + camera:key="pref_camera2_shutter_sound_key" + camera:title="@string/pref_camera2_shutter_sound_title" /> </PreferenceGroup> |