From fab609a303259e1a62e31df7c00f8b5ed3337187 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 2 Oct 2008 17:39:51 +0300 Subject: Update active call status when call is answered --- audio/telephony-dummy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit