Init allocates a SCO audio socket always. oFono should do that
with bluez5 but not with bluez4. This patch starts the refactoring of
the handsfree_audio_manager init/cleanup functionality.
__ofono_manager_init();
- __ofono_handsfree_audio_manager_init();
-
__ofono_plugin_init(option_plugin, option_noplugin);
g_free(option_plugin);
__ofono_plugin_cleanup();
- __ofono_handsfree_audio_manager_cleanup();
-
__ofono_manager_cleanup();
__ofono_modemwatch_cleanup();