diff options
author | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2011-01-05 17:59:40 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-01-07 00:35:38 +0200 |
commit | d17f5b9f524a599dcf8a5a66b01275c65615b8c7 (patch) | |
tree | 0f431da9ad454acac2c9c5cc35766ce87da4695b /audio | |
parent | 16ec168ac7fdd18cb2cbc7b3be7df349fd84c41c (diff) |
telephony-ofono: fix not setting originating when status property changes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/telephony-ofono.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/telephony-ofono.c b/audio/telephony-ofono.c index 4f6967338..720b32df3 100644 --- a/audio/telephony-ofono.c +++ b/audio/telephony-ofono.c @@ -834,6 +834,7 @@ static gboolean handle_vc_property_changed(DBusConnection *conn, "callsetup", EV_CALLSETUP_ALERTING); vc->status = CALL_STATUS_ALERTING; DBG("vc status is CALL_STATUS_ALERTING"); + vc->originating = TRUE; } else if (g_str_equal(state, "incoming")) { /* state change from waiting to incoming */ telephony_update_indicator(ofono_indicators, @@ -842,6 +843,7 @@ static gboolean handle_vc_property_changed(DBusConnection *conn, NUMBER_TYPE_TELEPHONY); vc->status = CALL_STATUS_INCOMING; DBG("vc status is CALL_STATUS_INCOMING"); + vc->originating = FALSE; } } |