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

Commit 33d2fa31 authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Add SystemApi to AudioManager method" am: 211d3155 am: 6e6af171 am: 421ff20c

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

Change-Id: I1afc1857220d0dd31f25e6146fdf88e354f69c99
parents 4d31db82 421ff20c
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) {