summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorEspen Fjellvær Olsen <espen@mrfjo.org>2013-01-23 20:07:20 +0100
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2013-01-26 22:05:54 -0800
commitcba4c32f67a1f9e093cfd2b971543db5ffaeb6b0 (patch)
tree5386a9bd093798d1bd39b6289a34b75275fe265d /res/xml
parent7d1af4cf5075b382ef0b6c87362d61207ebe86e1 (diff)
downloadpackages_apps_settings-cba4c32f67a1f9e093cfd2b971543db5ffaeb6b0.zip
packages_apps_settings-cba4c32f67a1f9e093cfd2b971543db5ffaeb6b0.tar.gz
packages_apps_settings-cba4c32f67a1f9e093cfd2b971543db5ffaeb6b0.tar.bz2
Add option for switching between UMS and MTP/PTP mode. (2/2)
Change-Id: I6cf50a41a9a82e40e702f5231ce663636c149613 This adds support for switching between UMS and MTP/PTP. Settings part (this part) adds option in USB settings (statusbar/notification drawer) for enabling UMS, and adds setting in Storage menu to enable / disable UMS, this since the USB settings page disappears when enabling UMS. It's only porting this http://review.cyanogenmod.org/#/c/21115/
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/usb_settings.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/xml/usb_settings.xml b/res/xml/usb_settings.xml
index 4d6ccc9..d81dbc2 100644
--- a/res/xml/usb_settings.xml
+++ b/res/xml/usb_settings.xml
@@ -32,4 +32,10 @@
android:summary="@string/usb_ptp_summary"
/>
+ <CheckBoxPreference
+ android:key="usb_mass_storage"
+ android:title="@string/usb_mass_storage_title"
+ android:summary="@string/usb_mass_storage_summary"
+ />
+
</PreferenceScreen>