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

Commit 4671e444 authored by Sal Savage's avatar Sal Savage
Browse files

Update LE Audio profile enable property names to be in line with spec

Tag: #refactor
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Merged-In: I77168fa1ee5bc2d777f1b171dd2870bcb57d82cb
Change-Id: I77168fa1ee5bc2d777f1b171dd2870bcb57d82cb
parent c17d0475
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ public class LeAudioService extends ProfileService {
    }

    public static boolean isEnabled() {
        return BluetoothProperties.isProfileBapUnicastServerEnabled().orElse(false);
        return BluetoothProperties.isProfileBapUnicastClientEnabled().orElse(false);
    }

    @Override
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ public class TbsService extends ProfileService {
    private final TbsGeneric mTbsGeneric = new TbsGeneric();

    public static boolean isEnabled() {
        return BluetoothProperties.isProfileTbsServerEnabled().orElse(false);
        return BluetoothProperties.isProfileCcpServerEnabled().orElse(false);
    }

    @Override
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ public class VolumeControlService extends ProfileService {
    private final ServiceFactory mFactory = new ServiceFactory();

    public static boolean isEnabled() {
        return BluetoothProperties.isProfileVcServerEnabled().orElse(false);
        return BluetoothProperties.isProfileVcpControllerEnabled().orElse(false);
    }

    @Override