summaryrefslogtreecommitdiffstats
path: root/res/xml/bluetooth_settings.xml
diff options
context:
space:
mode:
authorChris Wren <cwren@google.com>2011-02-01 15:09:13 -0800
committerJaikumar Ganesh <jaikumar@google.com>2011-02-01 16:25:44 -0800
commit1b0489cb3eb051b2cf18aa2cb3110ff904c9ebe8 (patch)
treee9ef3ae7ea7a75ab33bc1894dbb0ccb391e744b9 /res/xml/bluetooth_settings.xml
parent8e7aff2c4127ce2cac7ff2be7eabb7ede34a04ac (diff)
downloadpackages_apps_Settings-1b0489cb3eb051b2cf18aa2cb3110ff904c9ebe8.zip
packages_apps_Settings-1b0489cb3eb051b2cf18aa2cb3110ff904c9ebe8.tar.gz
packages_apps_Settings-1b0489cb3eb051b2cf18aa2cb3110ff904c9ebe8.tar.bz2
Allow users to change the length of Bluetooth discoverability to
be two minues, five minutes, an hour, or forever discoverable. This addresses the internal bug 2413429: http://b/issue?id=2413429 and external issue 6348: http://code.google.com/p/android/issues/detail?id=6348 Original Author: Chris Wren <crwen@google.com> Modifications done by: Jaikumar Ganesh<jaikumar@google.com> Change-Id: Ie12e56ac41aa01a161d263c7525b6e021d4eeb1f
Diffstat (limited to 'res/xml/bluetooth_settings.xml')
-rw-r--r--res/xml/bluetooth_settings.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/xml/bluetooth_settings.xml b/res/xml/bluetooth_settings.xml
index 64e6377..b441ab4 100644
--- a/res/xml/bluetooth_settings.xml
+++ b/res/xml/bluetooth_settings.xml
@@ -43,6 +43,14 @@
android:summaryOff="@string/bluetooth_not_discoverable"
android:persistent="false" />
+ <ListPreference
+ android:key="bt_discoverable_timeout"
+ android:title="@string/bluetooth_visibility_timeout"
+ android:dependency="bt_discoverable"
+ android:summary="@string/bluetooth_visibility_timeout_summary"
+ android:entries="@array/bluetooth_visibility_timeout_entries"
+ android:entryValues="@array/bluetooth_visibility_timeout_values" />
+
<Preference
android:key="bt_show_received_files"
android:dependency="bt_checkbox"