bluetooth: Register/Unregister Handsfree Audio Agent with oFono
authorJoão Paulo Rechi Vita <jprvita@openbossa.org>
Tue, 9 Jul 2013 23:59:12 +0000 (20:59 -0300)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 May 2014 09:29:38 +0000 (12:29 +0300)
commit5370f4d46e47d64e3c3b48370520f741fbe967d2
tree5ccb1d4bec80ee37310b7c20e0c4396842db88a6
parentb9d1e7af60b4a78da7f8efc130d4e85b405753bd
bluetooth: Register/Unregister Handsfree Audio Agent with oFono

Register as a HandsfreeAudioAgent with oFono during backend
initialization and unregiter during backend finalization. This commit
also adds a check when receiving method calls or signals to make sure
the sender matches with the D-Bus service we're registered with.

Change-Id: I0a49935702ffb52d6d2ba1baded8eb568262c5b1
src/modules/bluetooth/hfaudioagent-ofono.c