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
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 8716c63..42c846d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -231,6 +231,10 @@
     <string name="bluetooth_notif_title">Pairing request</string>
     <!-- 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>
+    <!-- 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 -->
     <string name="device_picker">Bluetooth device picker</string>
diff --git a/res/xml/bluetooth_settings.xml b/res/xml/bluetooth_settings.xml
index 982681e..64e6377 100644
--- a/res/xml/bluetooth_settings.xml
+++ b/res/xml/bluetooth_settings.xml
@@ -43,6 +43,12 @@
         android:summaryOff="@string/bluetooth_not_discoverable"
         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
         android:key="bt_device_list"
         android:title="@string/bluetooth_preference_paired_devices"