Bluetooth swap hangs, then fails.
When swapping via Bluetooth, the "Connecting to..." screen hangs, and then fails with the following error:
UpdateAsyncTask D Preparing swap: Writing signed index file (index.jar)…
D Preparing swap: Linking APKs into the repo…
D Preparing swap: Copying app icons into the repo…
UpdateService D Unscheduled (manually requested) update
BluetoothAdapter W getBluetoothService() called with no BluetoothManagerCallback
BTIF_SOCK D service_uuid: cd59ba31-5729-b3bb-cb29-732b59eb61aa
HeadsetStateMachine D Disconnected process message: 10, size: 0
bt-btif W info:x10
D remote version info [f4:f1:e1:1b:00:58]: 6, 1d, 7d3
bt-sdp W process_service_search_attr_rsp
uetoothBondStateMachine I bondStateChangeCallback: Status: 0 Address: F4:F1:E1:1B:00:58 newState: 1
bt-btif E check_cod: remote_cod = 0x5a020c
uetoothBondStateMachine I Bond State Change Intent:F4:F1:E1:1B:00:58 OldState: 10 NewState: 11
I Entering PendingCommandState State
I bondStateChangeCallback: Status: 0 Address: F4:F1:E1:1B:00:58 newState: 0
etoothAdapterProperties D Failed to remove device: F4:F1:E1:1B:00:58
uetoothBondStateMachine I Bond State Change Intent:F4:F1:E1:1B:00:58 OldState: 11 NewState: 10
I StableState(): Entering Off State
BluetoothEventManager W showUnbondMessage: Not displaying any message for reason: 0
bt-btif W new conn_srvc id:26, app_id:1
W bta_dm_pm_ssr conn_srvc id:26, app_id:1
W bta_dm_pm_ssr:2, lat:1200
BluetoothConnection D Opened connection to Bluetooth device
Downloader D Downloading from stream
bluetooth.Request D Sending request to server (/fdroid/repo/index.jar)
D Finished sending request, now attempting to read response status code...
bt-btif W dm_pm_timer expires
W dm_pm_timer expires 0
W proc dm_pm_timer expires
btif_config_util D btif_config_save_file(L188): in file name:/data/misc/bluedroid/bt_config.new
HeadsetStateMachine D Disconnected process message: 10, size: 0
D Disconnected process message: 10, size: 0
D Disconnected process message: 10, size: 0
D Disconnected process message: 10, size: 0
D Disconnected process message: 10, size: 0
D Disconnected process message: 10, size: 0
bt-btif W invalid rfc slot id: 6
UpdateService E Error updating repository bluetooth://F4-F1-E1-1B-00-58/fdroid/repo
E org.fdroid.fdroid.RepoUpdater$UpdateException: Error getting index file from bluetooth://F4-F1-E1-1B-00-58/fdroid/repo
E at org.fdroid.fdroid.RepoUpdater.downloadIndex(RepoUpdater.java:102)
E at org.fdroid.fdroid.RepoUpdater.update(RepoUpdater.java:116)
E at org.fdroid.fdroid.UpdateService.onHandleIntent(UpdateService.java:371)
E at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
E at android.os.Handler.dispatchMessage(Handler.java:102)
E at android.os.Looper.loop(Looper.java:135)
E at android.os.HandlerThread.run(HandlerThread.java:61)
E Caused by: java.io.IOException: bt socket closed, read return: -1
E at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:434)
E at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:96)
E at java.io.InputStreamReader.read(InputStreamReader.java:231)
E at java.io.BufferedReader.fillBuf(BufferedReader.java:145)
E at java.io.BufferedReader.readLine(BufferedReader.java:397)
E at org.fdroid.fdroid.net.bluetooth.httpish.Request.readResponseCode(Request.java:128)
E at org.fdroid.fdroid.net.bluetooth.httpish.Request.send(Request.java:69)
E at org.fdroid.fdroid.net.BluetoothDownloader.getInputStream(BluetoothDownloader.java:33)
E at org.fdroid.fdroid.net.Downloader.downloadFromStream(Downloader.java:105)
E at org.fdroid.fdroid.net.BluetoothDownloader.download(BluetoothDownloader.java:79)
E at org.fdroid.fdroid.net.Downloader.downloadUninterrupted(Downloader.java:93)
E at org.fdroid.fdroid.RepoUpdater.downloadIndex(RepoUpdater.java:90)
E ... 6 more