ofono: only issue "call added" after properties were populated.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Fri, 24 Aug 2012 06:15:43 +0000 (03:15 -0300)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Mon, 27 Aug 2012 00:47:43 +0000 (21:47 -0300)
commit998bc7cb7c254ccc9a9e20d116517b703d2b6100
tree30184cde8a04c81ea36856fdd8dde5444a26841a
parentefcb568c22c6d9874dc114716ab2f3b04354fdb3
ofono: only issue "call added" after properties were populated.

This allow us to decide better where to place the call once we get its
creation signal, not having to rely on following "call changed".

_ofono_dial_reply() was also changed so it does not call _call_add()
with NULL properties anymore, instead it creates the call instance,
adds to the hash and register a pending_dial to be dispatched when the
CallAdded signal is captured. This way we have all the properties as
usual.
dialer/ofono.c