Make BluetoothCodecConfig and BluetoothCodecStatus public
Tag: #feature Bug: 200202780 Test: make RunSettingsRoboTests Change-Id: I2a81216de050b143cee5c537d899a699d5012330
This commit is contained in:
@@ -71,10 +71,16 @@ public class BluetoothA2dpConfigStore {
|
||||
}
|
||||
|
||||
public BluetoothCodecConfig createCodecConfig() {
|
||||
return new BluetoothCodecConfig(mCodecType, mCodecPriority,
|
||||
mSampleRate, mBitsPerSample,
|
||||
mChannelMode, mCodecSpecific1Value,
|
||||
mCodecSpecific2Value, mCodecSpecific3Value,
|
||||
mCodecSpecific4Value);
|
||||
return new BluetoothCodecConfig.Builder()
|
||||
.setCodecType(mCodecType)
|
||||
.setCodecPriority(mCodecPriority)
|
||||
.setSampleRate(mSampleRate)
|
||||
.setBitsPerSample(mBitsPerSample)
|
||||
.setChannelMode(mChannelMode)
|
||||
.setCodecSpecific1(mCodecSpecific1Value)
|
||||
.setCodecSpecific2(mCodecSpecific2Value)
|
||||
.setCodecSpecific3(mCodecSpecific3Value)
|
||||
.setCodecSpecific4(mCodecSpecific4Value)
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user