diff options
-rw-r--r-- | src/com/android/settings/bluetooth/BluetoothSettings.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/bluetooth/BluetoothSettings.java b/src/com/android/settings/bluetooth/BluetoothSettings.java index aa5decbf4..54f9fb1a6 100644 --- a/src/com/android/settings/bluetooth/BluetoothSettings.java +++ b/src/com/android/settings/bluetooth/BluetoothSettings.java @@ -286,7 +286,8 @@ public class BluetoothSettings extends SettingsPreferenceFragment public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { if (mDevicePreferenceMap.get(cachedDevice) != null) { - throw new IllegalStateException("Got onDeviceAdded, but cachedDevice already exists"); + Log.e(TAG, "Got onDeviceAdded, but cachedDevice already exists"); + return; } if (mScreenType != SCREEN_TYPE_SETTINGS |