Add preference to show the list of files received via Bluetooth.

Add a preference item to show a dialog window containing the list
of files received via Bluetooth. This replaces the "live folder"
view that was available in Gingerbread and earlier.

Bug: 3167219
Change-Id: I703266dba47c9ef8c52e5569aba0f812a9511bb5
This commit is contained in:
Jake Hamby
2011-01-12 15:00:19 -08:00
parent 8140d9c916
commit 2fdd006b1a
2 changed files with 10 additions and 0 deletions

View File

@@ -231,6 +231,10 @@
<string name="bluetooth_notif_title">Pairing request</string> <string name="bluetooth_notif_title">Pairing request</string>
<!-- Notification message when a Bluetooth device wants to pair with us --> <!-- Notification message when a Bluetooth device wants to pair with us -->
<string name="bluetooth_notif_message">Select to pair with <xliff:g id="device_name">%1$s</xliff:g></string> <string name="bluetooth_notif_message">Select to pair with <xliff:g id="device_name">%1$s</xliff:g></string>
<!-- Bluetooth settings screen, title of the item to show the list of received files [CHAR LIMIT=30] -->
<string name="bluetooth_show_received_files_title">Show received files</string>
<!-- Bluetooth settings screen, summary of the item to show the list of received files [CHAR LIMIT=50] -->
<string name="bluetooth_show_received_files_summary">Show the list of files received via Bluetooth</string>
<!-- Strings for BluetoothDevicePicker --> <!-- Strings for BluetoothDevicePicker -->
<string name="device_picker">Bluetooth device picker</string> <string name="device_picker">Bluetooth device picker</string>

View File

@@ -43,6 +43,12 @@
android:summaryOff="@string/bluetooth_not_discoverable" android:summaryOff="@string/bluetooth_not_discoverable"
android:persistent="false" /> android:persistent="false" />
<Preference
android:key="bt_show_received_files"
android:dependency="bt_checkbox"
android:title="@string/bluetooth_show_received_files_title"
android:summary="@string/bluetooth_show_received_files_summary" />
<PreferenceCategory <PreferenceCategory
android:key="bt_device_list" android:key="bt_device_list"
android:title="@string/bluetooth_preference_paired_devices" android:title="@string/bluetooth_preference_paired_devices"