FAIL_RETURN(createAccessoryPresenter(),
"createAccessoryPresenter() failed");
-
auto end = m_cm->getEndCall();
if (end) {
auto info = end->getInfo();
- if (info && info->getConferenceMemberCount() == 1) {
+ if (info &&
+ info->getConferenceMemberCount() == 1 &&
+ !(info->getPhoneNumber().empty() &&
+ !info->isEmergency())) {
FAIL_RETURN(createBottomBtn(impl::STYLE_BB_RECALL, false),
"createBottomBtn() failed");
hide(*m_bottomBtn);
Eina_Bool MainPage::onEndCallTimerCb()
{
if (!m_ecTimerBtnReq) {
- if (!m_bottomBtn) {
- m_ecTimer = nullptr;
- requestExit();
- LOG_RETURN_VALUE(RES_FAIL, ECORE_CALLBACK_CANCEL, "bottom button is NULL!");
+ if (m_bottomBtn) {
+ m_widget->setContent(*m_bottomBtn, impl::PART_SWL_BOTTOM_BTN);
+ show(*m_bottomBtn);
}
- m_widget->setContent(*m_bottomBtn, impl::PART_SWL_BOTTOM_BTN);
- show(*m_bottomBtn);
-
ecore_timer_interval_set(m_ecTimer, impl::CU_EXIT_APP_TIMEOUT);
m_ecTimerBtnReq = true;
-
return ECORE_CALLBACK_RENEW;
} else {
m_ecTimer = nullptr;
requestExit();
-
return ECORE_CALLBACK_CANCEL;
}
}