From 597ed5434f369ab614fa2ce543aab3f49101b5f1 Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Wed, 24 May 2017 11:47:22 -0400 Subject: Add additional error checking/reporting to the telephony binding Adds additional error checking and reporting to the binding so that errors resulting from lack of a telephony modem can be reported at init. This fixes the issue where the phone app crashes and the afb-daemon can only report a segfault on start. AGL-Bug: SPEC-621 Change-Id: Ie3e12cb69a2a04cf7308e6bd244add581b8578db Signed-off-by: Matt Porter --- telephony-binding/gdbus/ofono_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telephony-binding/gdbus/ofono_manager.h') diff --git a/telephony-binding/gdbus/ofono_manager.h b/telephony-binding/gdbus/ofono_manager.h index 3b55547..6454246 100644 --- a/telephony-binding/gdbus/ofono_manager.h +++ b/telephony-binding/gdbus/ofono_manager.h @@ -20,7 +20,7 @@ #include #include -void ofono_manager_init(const struct afb_binding_interface *iface); +int ofono_manager_init(const struct afb_binding_interface *iface); const gchar *ofono_manager_get_default_modem_path(void); const gchar *ofono_manager_get_default_modem_name(void); const gchar *ofono_manager_get_default_modem_type(void); -- cgit 1.2.3-korg