commit | 7dd84651a25566c5a2152d935f19a11cebfc58ae | [log] [tgz] |
---|---|---|
author | Zhihai Xu <zhihaixu@google.com> | Wed Apr 30 18:22:48 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Apr 30 18:22:49 2014 +0000 |
tree | ca911e065aae6ac55395865873939b755b191268 | |
parent | 4c941850288011ca29466a1a80314155c0100fe3 [diff] | |
parent | 89377530c70f757aebdb5b953b73869242994265 [diff] |
Merge "Display BTH connected status correctly"
diff --git a/src/com/android/settings/bluetooth/BluetoothDevicePreference.java b/src/com/android/settings/bluetooth/BluetoothDevicePreference.java index 80a3d1f..6481f2a 100644 --- a/src/com/android/settings/bluetooth/BluetoothDevicePreference.java +++ b/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
@@ -232,7 +232,7 @@ break; case BluetoothProfile.STATE_DISCONNECTED: - if (profile.isProfileReady() && profile.isPreferred(cachedDevice.getDevice())) { + if (profile.isProfileReady()) { if (profile instanceof A2dpProfile) { a2dpNotConnected = true; } else if (profile instanceof HeadsetProfile) {