Merge "Display BTH connected status correctly"

This commit is contained in:
Zhihai Xu
2014-04-30 18:22:48 +00:00
committed by Gerrit Code Review

View File

@@ -232,7 +232,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) {