summaryrefslogtreecommitdiffstats
path: root/audio/telephony-dummy.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-02 17:39:51 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-02 17:39:51 +0300
commitfab609a303259e1a62e31df7c00f8b5ed3337187 (patch)
tree6919587bc21da16b8a0ea3a2346ebbd84dfbd310 /audio/telephony-dummy.c
parentc0690e2d2bd2297dd91dda87e0a65e41ac7d739b (diff)
Update active call status when call is answered
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r--audio/telephony-dummy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c
index e0d27444..df9cdf08 100644
--- a/audio/telephony-dummy.c
+++ b/audio/telephony-dummy.c
@@ -126,6 +126,8 @@ void telephony_answer_call_req(void *telephony_device)
telephony_update_indicator(dummy_indicators, "call", EV_CALL_ACTIVE);
telephony_update_indicator(dummy_indicators, "callsetup",
EV_CALLSETUP_INACTIVE);
+
+ active_call_status = CALL_STATUS_ACTIVE;
}
void telephony_dial_number_req(void *telephony_device, const char *number)
@@ -245,7 +247,6 @@ static DBusMessage *cancel_call(DBusConnection *conn, DBusMessage *msg,
return dbus_message_new_method_return(msg);
}
-
static DBusMessage *signal_strength(DBusConnection *conn, DBusMessage *msg,
void *data)
{