ofono: use ReleaseAndSwap
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 11 Aug 2012 13:57:25 +0000 (10:57 -0300)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 11 Aug 2012 13:57:25 +0000 (10:57 -0300)
commit9c7f7ce80ebbf29c52163f0293c6783f51617402
tree20e73ef7564c991d38d4f02db01a8993cfd675d3
parentdfa16c3bfc81592ad0b2894ed6211422e6b4d995
ofono: use ReleaseAndSwap

new method "ReleaseAndSwap()" is all we need for our phone hangup
button. It will handle multiparty and regular calls, hangs up the
active call (regular or multiparty) and then activate the held call.

If there was no held, it works as well.
dialer/callscreen.c
dialer/ofono.c
dialer/ofono.h