* commit '3cfb6885b4075a3887cb0acb437704394fc9e90e': Display BTH connected status correctly
This commit is contained in:
@@ -245,7 +245,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