From: Igor Olshevskyi Date: Wed, 20 Sep 2017 14:26:35 +0000 (+0300) Subject: TizenRefApp-9396 [Call UI] Fix outgoing call second attempt blocking X-Git-Tag: submit/tizen_4.0/20171018.080056~9^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c0e21ba403911c5ba99fd61824e75213aed32f8;p=profile%2Fwearable%2Fapps%2Fnative%2Fcall-ui.git TizenRefApp-9396 [Call UI] Fix outgoing call second attempt blocking Change-Id: I9bd40a906a7877f88243968eaf8e0b0babb238ab --- diff --git a/call-ui/model/impl/CallManager.cpp b/call-ui/model/impl/CallManager.cpp index b0eb13a..02f6fe0 100644 --- a/call-ui/model/impl/CallManager.cpp +++ b/call-ui/model/impl/CallManager.cpp @@ -397,11 +397,16 @@ namespace callui { Result CallManager::processOutgoingCall(const std::string &telNum) { - if (!m_waitDialing) { - m_waitDialing = true; - return dialVoiceCall(telNum); + if (m_waitDialing) { + WLOG("Wait dialing state. " + "Ignore attempt on making outgoing call on %s", + telNum.c_str()); + + return RES_OK; } - return RES_FAIL; + + m_waitDialing = true; + return dialVoiceCall(telNum); } Result CallManager::processIncomingCall(SimSlot slot)