From 7c0e21ba403911c5ba99fd61824e75213aed32f8 Mon Sep 17 00:00:00 2001 From: Igor Olshevskyi Date: Wed, 20 Sep 2017 17:26:35 +0300 Subject: [PATCH] TizenRefApp-9396 [Call UI] Fix outgoing call second attempt blocking Change-Id: I9bd40a906a7877f88243968eaf8e0b0babb238ab --- call-ui/model/impl/CallManager.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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) -- 2.34.1