Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42c61c10 authored by Marie Janssen's avatar Marie Janssen Committed by android-build-merger
Browse files

Merge "Make headset icons consistent before / after pairing" am: 690bdb22...

Merge "Make headset icons consistent before / after pairing" am: 690bdb22 am: a2e068a2 am: 60eb5503
am: a78e718b

Change-Id: I20b0fe30ab6b882e4f517147e9ffabe786d73988
parents b3d76c0c a78e718b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -284,12 +284,12 @@ public final class BluetoothDevicePreference extends Preference implements
            }
        }
        if (btClass != null) {
            if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) {
                return new Pair<Integer, String>(R.drawable.ic_bt_headphones_a2dp, HEADPHONE);
            }
          if (btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) {
                return new Pair<Integer, String>(R.drawable.ic_bt_headset_hfp, HEADSET);
            }
          if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) {
                return new Pair<Integer, String>(R.drawable.ic_bt_headphones_a2dp, HEADPHONE);
            }
        }
        return new Pair<Integer, String>(R.drawable.ic_settings_bluetooth, BLUETOOTH);
    }