am 3cfb6885: am d6b0b172: am 7dd84651: Merge "Display BTH connected status correctly"

* commit '3cfb6885b4075a3887cb0acb437704394fc9e90e':
  Display BTH connected status correctly
This commit is contained in:
Zhihai Xu
2014-04-30 18:44:13 +00:00
committed by Android Git Automerger

View File

@@ -245,7 +245,7 @@ public final class BluetoothDevicePreference extends Preference implements
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) {