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

Commit ee74ae36 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

bluetooth: Fix obvious typo

Bug: TBD
Sponsor: @jpawlowski
Test: compile
Tag: #feature
Change-Id: If37cfeea4f935602457a815ce834c2730cd2cb52
parent 7f2562e8
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()) {
@@ -3552,7 +3552,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;
    }