Merge "Update the cache of a2dp config before writing config." into main