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

Commit 32997225 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "bluetooth: Fix obvious typo"

parents 883e22cc ee74ae36
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -758,7 +758,7 @@ public class AdapterService extends Service {
        HashSet<Class> nonSupportedProfiles = new HashSet<>();

        if (!isLeConnectedIsochronousStreamCentralSupported()) {
            nonSupportedProfiles.addAll(Config.geLeAudioUnicastProfiles());
            nonSupportedProfiles.addAll(Config.getLeAudioUnicastProfiles());
        }

        if (!isLeAudioBroadcastAssistantSupported()) {
@@ -3517,7 +3517,7 @@ public class AdapterService extends Service {

            HashSet<Class> supportedProfileServices =
                    new HashSet<Class>(Arrays.asList(Config.getSupportedProfiles()));
            HashSet<Class> leAudioUnicastProfiles = Config.geLeAudioUnicastProfiles();
            HashSet<Class> leAudioUnicastProfiles = Config.getLeAudioUnicastProfiles();

            if (supportedProfileServices.containsAll(leAudioUnicastProfiles)) {
                return BluetoothStatusCodes.FEATURE_SUPPORTED;
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ public class Config {
        sSupportedMask |= (1 << supportedProfile);
    }

    static HashSet<Class> geLeAudioUnicastProfiles() {
    static HashSet<Class> getLeAudioUnicastProfiles() {
        return mLeAudioUnicastProfiles;
    }