projects
/
platform
/
core
/
connectivity
/
bluetooth-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the exception handling logic for TC
[platform/core/connectivity/bluetooth-agent.git]
/
ag-agent
/
bluetooth-ag-agent.c
diff --git
a/ag-agent/bluetooth-ag-agent.c
b/ag-agent/bluetooth-ag-agent.c
index
099485c
..
609da2e
100644
(file)
--- a/
ag-agent/bluetooth-ag-agent.c
+++ b/
ag-agent/bluetooth-ag-agent.c
@@
-1244,7
+1244,8
@@
gboolean _bt_hfp_agent_nrec_status(gboolean status,
else
hs->nrec_status = TRUE;
- _bt_ag_agent_emit_signal(ag_dbus_conn, hs->path,
+ if (ag_dbus_conn)
+ _bt_ag_agent_emit_signal(ag_dbus_conn, hs->path,
BT_AG_SERVICE_NAME, "NrecStatusChanged",
g_variant_new("(b)", status));
FN_END;