Commit 7c34cbf6 authored by pali's avatar pali
Browse files

fixup! WIP: bluetooth: Add support for hsphfpd service to handle HSP and HFP profiles

parent 32e156b4
...@@ -737,8 +737,11 @@ static void hsphfpd_register_application_reply(DBusPendingCall *pending, void *u ...@@ -737,8 +737,11 @@ static void hsphfpd_register_application_reply(DBusPendingCall *pending, void *u
if (dbus_message_get_type(r) == DBUS_MESSAGE_TYPE_ERROR) { if (dbus_message_get_type(r) == DBUS_MESSAGE_TYPE_ERROR) {
pa_log_warn(HSPHFPD_APPLICATION_MANAGER_INTERFACE ".RegisterApplication() failed: %s: %s", pa_log_warn(HSPHFPD_APPLICATION_MANAGER_INTERFACE ".RegisterApplication() failed: %s: %s",
dbus_message_get_error_name(r), pa_dbus_get_error_message(r)); dbus_message_get_error_name(r), pa_dbus_get_error_message(r));
if (dbus_message_is_error(r, DBUS_ERROR_SERVICE_UNKNOWN)) if (dbus_message_is_error(r, DBUS_ERROR_SERVICE_UNKNOWN)) {
pa_log_warn("hsphfpd daemon is not running!");
pa_log_warn("It is needed for HSP and HFP profile support");
pa_bluetooth_discovery_legacy_hsp_backend_enable(backend->discovery, true); pa_bluetooth_discovery_legacy_hsp_backend_enable(backend->discovery, true);
goto finish; goto finish;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment