From 4e1876a40a8786a339369cf1962a7e923b234625 Mon Sep 17 00:00:00 2001 From: Harish Paryani Date: Wed, 7 Mar 2012 18:19:44 -0800 Subject: [PATCH] Disconnect before Unpair --- src/com/android/settings/bluetooth/CachedBluetoothDevice.java | 2 -- 1 file changed, 2 deletions(-) mode change 100644 => 100755 src/com/android/settings/bluetooth/CachedBluetoothDevice.java diff --git a/src/com/android/settings/bluetooth/CachedBluetoothDevice.java b/src/com/android/settings/bluetooth/CachedBluetoothDevice.java old mode 100644 new mode 100755 index 01fd1b2d834..cb2f6594f8d --- a/src/com/android/settings/bluetooth/CachedBluetoothDevice.java +++ b/src/com/android/settings/bluetooth/CachedBluetoothDevice.java @@ -283,8 +283,6 @@ final class CachedBluetoothDevice implements Comparable { } void unpair() { - disconnect(); - int state = getBondState(); if (state == BluetoothDevice.BOND_BONDING) {