Merge "Set highest priority as default value to Bluetooth codec" am: 594849082b
am: d3a9f472a2
am: f01d260512
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1435258 Change-Id: Iaaef48f2af763fb1905596205bedd6b33574750e
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.settings.development.bluetooth;
|
||||
|
||||
import static android.bluetooth.BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
import static org.mockito.Mockito.never;
|
||||
@@ -199,7 +201,7 @@ public class AbstractBluetoothDialogPreferenceControllerTest {
|
||||
verify(mBluetoothA2dpConfigStore).setSampleRate(mCodecConfigAAC.getSampleRate());
|
||||
verify(mBluetoothA2dpConfigStore).setBitsPerSample(mCodecConfigAAC.getBitsPerSample());
|
||||
verify(mBluetoothA2dpConfigStore).setChannelMode(mCodecConfigAAC.getChannelMode());
|
||||
verify(mBluetoothA2dpConfigStore).setCodecPriority(mCodecConfigAAC.getCodecPriority());
|
||||
verify(mBluetoothA2dpConfigStore).setCodecPriority(CODEC_PRIORITY_HIGHEST);
|
||||
verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(
|
||||
mCodecConfigAAC.getCodecSpecific1());
|
||||
}
|
||||
|
Reference in New Issue
Block a user