projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05a78a
)
handsfree: Don't emit signals if not registered
author
Denis Kenzior
<denkenz@gmail.com>
Thu, 13 Oct 2011 17:54:45 +0000
(12:54 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 13 Oct 2011 18:01:17 +0000
(13:01 -0500)
src/handsfree.c
patch
|
blob
|
history
diff --git
a/src/handsfree.c
b/src/handsfree.c
index
ae5007e
..
2566ed0
100644
(file)
--- a/
src/handsfree.c
+++ b/
src/handsfree.c
@@
-62,6
+62,9
@@
void ofono_handsfree_set_inband_ringing(struct ofono_handsfree *hf,
hf->inband_ringing = enabled;
+ if (__ofono_atom_get_registered(hf->atom) == FALSE)
+ return;
+
ofono_dbus_signal_property_changed(conn, path,
OFONO_HANDSFREE_INTERFACE,
"InbandRinging", DBUS_TYPE_BOOLEAN,