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

Commit f28adc0d authored by Bryce Lee's avatar Bryce Lee
Browse files

Map Bluetooth profiles correctly in isProfileDisabled helper function.

Change-Id: Ic38736a653e6413f1f3bb41c8dfe049abe8883f0
parent 8076fe0c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -117,9 +117,9 @@ public class Config {
        } else if (profile == A2dpSinkService.class) {
            profileIndex = BluetoothProfile.A2DP_SINK;
        } else if (profile == HidService.class) {
            profileIndex = BluetoothProfile.HID;
            profileIndex = BluetoothProfile.INPUT_DEVICE;
        } else if (profile == HealthService.class) {
            profileIndex = BluetoothProfile.HDP;
            profileIndex = BluetoothProfile.HEALTH;
        } else if (profile == PanService.class) {
            profileIndex = BluetoothProfile.PAN;
        } else if (profile == GattService.class) {