From: Gustavo Sverzut Barbieri Date: Tue, 21 Aug 2012 10:11:51 +0000 (-0300) Subject: callscreen: hide "held" (2nd call) if it's the only call. X-Git-Tag: accepted/2.0alpha/20121205.174825~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e79f2c7faf3d075bb27cb49690be6a6067d1143;p=profile%2Fivi%2Flemolo.git callscreen: hide "held" (2nd call) if it's the only call. --- diff --git a/dialer/callscreen.c b/dialer/callscreen.c index f0d57e5..76e4c99 100644 --- a/dialer/callscreen.c +++ b/dialer/callscreen.c @@ -682,7 +682,8 @@ static void _call_changed(void *data, OFono_Call *c) if ((is_held) && (!was_held)) { elm_object_signal_emit(ctx->self, "show,held", "call"); _multiparty_private_available_update(ctx); - } else if ((!is_held) && (was_held)) { + } else if (((!is_held) && (was_held)) || + (ctx->calls.active == ctx->calls.held)) { elm_object_part_text_set(ctx->self, "elm.text.held", ""); elm_object_signal_emit(ctx->self, "hide,held", "call"); _multiparty_private_available_update(ctx);