diff --git a/src/com/android/settings/bluetooth/BluetoothDevicePreference.java b/src/com/android/settings/bluetooth/BluetoothDevicePreference.java index b956aa58b28..3fc0abfc97f 100644 --- a/src/com/android/settings/bluetooth/BluetoothDevicePreference.java +++ b/src/com/android/settings/bluetooth/BluetoothDevicePreference.java @@ -284,12 +284,12 @@ public final class BluetoothDevicePreference extends Preference implements } } if (btClass != null) { - if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { - return new Pair(R.drawable.ic_bt_headphones_a2dp, HEADPHONE); - } - if (btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { + if (btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { return new Pair(R.drawable.ic_bt_headset_hfp, HEADSET); } + if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { + return new Pair(R.drawable.ic_bt_headphones_a2dp, HEADPHONE); + } } return new Pair(R.drawable.ic_settings_bluetooth, BLUETOOTH); }