diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-09 04:15:59 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-09 04:15:59 +0000 |
commit | a4b6edc0efcb27148062dc25d135f4dd74bee444 (patch) | |
tree | d94483e410a3a9bc6b27d8bdd1a65161c1bf8efd | |
parent | c079bd81c2c6bf2686ae7c83390a9b35a0996aef (diff) | |
parent | 3675982bc5f835ceeeb81854ad436d889f01e1b2 (diff) | |
download | sl4a-android14-qpr2-s3-release.tar.gz |
Snap for 11200327 from 3675982bc5f835ceeeb81854ad436d889f01e1b2 to 24Q1-releaseandroid-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: Icd64a999aa29aeb1be3f2836e6afc007a31fd6a1
-rw-r--r-- | Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothA2dpFacade.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothA2dpFacade.java b/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothA2dpFacade.java index e3304ffc..2c200d3e 100644 --- a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothA2dpFacade.java +++ b/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothA2dpFacade.java @@ -21,7 +21,6 @@ import android.bluetooth.BluetoothA2dp; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothCodecConfig; import android.bluetooth.BluetoothCodecStatus; -import android.bluetooth.BluetoothCodecType; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothProfile; import android.bluetooth.BluetoothUuid; @@ -63,7 +62,7 @@ public class BluetoothA2dpFacade extends RpcReceiver { mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); mBluetoothA2dpReceiver = new BluetoothA2dpReceiver(); mBluetoothCodecConfig = new BluetoothCodecConfig( - null, + BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID, BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT, BluetoothCodecConfig.SAMPLE_RATE_NONE, BluetoothCodecConfig.BITS_PER_SAMPLE_NONE, @@ -259,7 +258,7 @@ public class BluetoothA2dpFacade extends RpcReceiver { continue; } BluetoothCodecConfig codecConfig = new BluetoothCodecConfig( - BluetoothCodecType.createFromType(codecType), + codecType, BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST, sampleRate, bitsPerSample, |