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

Commit 690bdb22 authored by Marie Janssen's avatar Marie Janssen Committed by Gerrit Code Review
Browse files

Merge "Make headset icons consistent before / after pairing"

parents 4ce19f5c 262f7fba
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -286,12 +286,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);
    }