summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2011-08-31 11:51:17 -0700
committerIrfan Sheriff <isheriff@google.com>2011-08-31 11:54:46 -0700
commit1610a74a26763046c147b2cf5cda7d84a62b95ff (patch)
tree781c30558e8f3b2a408de28d5bebb81815105bc0 /res/xml
parente6fecb2ee58d2dd7ff192c83dfba1d6b60772d6f (diff)
downloadpackages_apps_Settings-1610a74a26763046c147b2cf5cda7d84a62b95ff.tar.gz
packages_apps_Settings-1610a74a26763046c147b2cf5cda7d84a62b95ff.tar.bz2
packages_apps_Settings-1610a74a26763046c147b2cf5cda7d84a62b95ff.zip
Expose wifi p2p toggle switch to user
We will not show the Wifi p2p settings to user but the turn on/off capability is exposed to the user and applications will be expected to let user turn on and turn off p2p at launch. Remove the compound button integration from the settings page. Bug: 5242230 Change-Id: I54ec307304256b051e85201b8bb829d0e5544bfc
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/wireless_settings.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/xml/wireless_settings.xml b/res/xml/wireless_settings.xml
index 81929d0be..1e7186317 100644
--- a/res/xml/wireless_settings.xml
+++ b/res/xml/wireless_settings.xml
@@ -45,6 +45,11 @@
android:summary="@string/ndef_push_settings_summary" >
</PreferenceScreen>
+ <CheckBoxPreference
+ android:key="toggle_wifi_p2p"
+ android:title="@string/wifi_p2p_settings_title"
+ android:persistent="false" />
+
<PreferenceScreen
android:fragment="com.android.settings.wifi.p2p.WifiP2pSettings"
android:key="wifi_p2p_settings"