summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-21 17:12:10 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:56 +0200
commit942947f4eddaad40216a91bb5865ef44cdf6be16 (patch)
tree8f49b68a0b3d9856e227447757eae2240cf9591c /audio
parente5cc17d4a1047c87aab213c171c18f98f1c4d5e2 (diff)
Fix callsetup and call indicators upon CALL_STATUS_ACTIVE
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 813fd770..6f67a04b 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -577,14 +577,13 @@ static void handle_call_status(DBusMessage *msg, const char *call_path)
case CSD_CALL_STATUS_ACTIVE:
if (call->on_hold)
call->on_hold = FALSE;
- else
+ else {
telephony_update_indicator(maemo_indicators, "call",
EV_CALL_ACTIVE);
- if (status == CSD_CALL_STATUS_MT_ALERTING ||
- status == CSD_CALL_STATUS_ANSWERED)
telephony_update_indicator(maemo_indicators,
"callsetup",
EV_CALLSETUP_INACTIVE);
+ }
break;
case CSD_CALL_STATUS_MO_RELEASE:
break;