diff options
author | Matt Porter <mporter@konsulko.com> | 2017-05-24 11:47:22 -0400 |
---|---|---|
committer | Matt Porter <mporter@konsulko.com> | 2017-05-24 12:01:11 -0400 |
commit | 597ed5434f369ab614fa2ce543aab3f49101b5f1 (patch) | |
tree | 3bb30709ec98852495a9b4e94a88be153fb3ad5a /telephony-binding/gdbus/ofono_manager.h | |
parent | 07502ed69e6d6a1830c168aada4c59ab0220bd24 (diff) |
Add additional error checking/reporting to the telephony bindingdab_3.99.1dab/3.99.13.99.1
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 <mporter@konsulko.com>
Diffstat (limited to 'telephony-binding/gdbus/ofono_manager.h')
-rw-r--r-- | telephony-binding/gdbus/ofono_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <afb/afb-binding.h> #include <afb/afb-service-itf.h> -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); |