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

Commit 211d3155 authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Add SystemApi to AudioManager method"

parents 10cc7a73 4f33ab6c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -64,8 +64,7 @@ class A2dpCodecConfig {
          Log.w(TAG, "Can't obtain the codec offloading prefernece from null AudioManager");
          return;
        }
        mCodecConfigOffloading = audioManager.getHwOffloadFormatsSupportedForBluetoothMedia(
                                                    AudioManager.DEVICE_OUT_BLUETOOTH_A2DP)
        mCodecConfigOffloading = audioManager.getHwOffloadFormatsSupportedForA2dp()
                                             .toArray(mCodecConfigOffloading);
    }

+1 −2
Original line number Diff line number Diff line
@@ -41,8 +41,7 @@ class LeAudioCodecConfig {
            return;
        }

        mCodecConfigOffloading = audioManager.getHwOffloadFormatsSupportedForBluetoothMedia(
                                                    AudioManager.DEVICE_OUT_BLE_HEADSET)
        mCodecConfigOffloading = audioManager.getHwOffloadFormatsSupportedForLeAudio()
                                             .toArray(mCodecConfigOffloading);

        if (DBG) {