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

Commit 6e6af171 authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Add SystemApi to AudioManager method" am: 211d3155

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1927363

Change-Id: Iafebd42c87b4009c374f87a5459a8b09cc2f24cb
parents 462f3459 211d3155
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) {