* commit 'd6b0b1721a684be1805025908c4733a6b02794a4': Display BTH connected status correctly
This commit is contained in:
@@ -232,7 +232,7 @@ public final class BluetoothDevicePreference extends Preference implements
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case BluetoothProfile.STATE_DISCONNECTED:
|
case BluetoothProfile.STATE_DISCONNECTED:
|
||||||
if (profile.isProfileReady() && profile.isPreferred(cachedDevice.getDevice())) {
|
if (profile.isProfileReady()) {
|
||||||
if (profile instanceof A2dpProfile) {
|
if (profile instanceof A2dpProfile) {
|
||||||
a2dpNotConnected = true;
|
a2dpNotConnected = true;
|
||||||
} else if (profile instanceof HeadsetProfile) {
|
} else if (profile instanceof HeadsetProfile) {
|
||||||
|
Reference in New Issue
Block a user