diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-07-14 19:15:53 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-07-14 19:15:53 -0500 |
commit | e825cf3ee4b6a3e6556312bf3472d88e0a2b7ad8 (patch) | |
tree | 5f6990175f83358e0909059122ccf37d5708309e /src/dbus.c | |
parent | 70df9939dbc7f265002edff6e3b2d2ef560f3a95 (diff) | |
download | ofono-e825cf3ee4b6a3e6556312bf3472d88e0a2b7ad8.tar.bz2 |
voicecall: dial_request_user_cancel is not safe
It is not safe to call dial_request_user_cancel directly. This is
because there might be a situation where the SIM requested the calls to
be dropped first. If we're still executing the release_all_active
request and someone calls hangup -> crash.
Instead it is safer to throttle the hangup requests until the call is
actually dialing.
In similar fashion, we should not allow hanging up a specific call if a
dial request is active, unless that call is part of the SIM dial
request. Note that by default this is not known until the driver's dial
implementation returns and the call is in the dialing (or alerting /
connected) state.
Diffstat (limited to 'src/dbus.c')
0 files changed, 0 insertions, 0 deletions