Merge "Update the cache of a2dp config before writing config." into main
This commit is contained in:
@@ -85,6 +85,8 @@ public abstract class AbstractBluetoothDialogPreferenceController extends
|
|||||||
if (bluetoothA2dp == null) {
|
if (bluetoothA2dp == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// update the cache of a2dp config(mBluetoothA2dpConfigStore) before writing config.
|
||||||
|
initConfigStore();
|
||||||
writeConfigurationValues(index);
|
writeConfigurationValues(index);
|
||||||
final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig();
|
final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig();
|
||||||
BluetoothDevice activeDevice = getA2dpActiveDevice();
|
BluetoothDevice activeDevice = getA2dpActiveDevice();
|
||||||
|
Reference in New Issue
Block a user