Fixed recursive appcontrol issue. Fixed Call reject from event injector during answer...
[apps/osp/Call.git] / src / CallTelephonyManager.cpp
index 9b31aa4..767107a 100644 (file)
@@ -1591,16 +1591,12 @@ TelephonyManager::HandleParticipantEndedFromConference(unsigned int participantC
                __pActiveCallList->Add(pActiveCall->GetCallHandle()->ToLong(), *pActiveCall);
                pActiveCall = null;
 
-               //Check if there is no incoming or dialing call exist, then only notify to change screen, Else ignore
-               if (IsIncomingorDialingCallPresent() == false)
-               {
-                       //using the callConnected to switch to single active screen
-                       //or update multiple active call screen
-                       IListT<AppCallInfo>* pActiveCallList = __pActiveCallList->GetValuesN();
-                       __pEventListener->HandleCallConnected(*pActiveCallList);
-                       delete pActiveCallList;
-                       pActiveCallList = null;
-               }
+               //using the callConnected to switch to single active screen
+               //or update multiple active call screen
+               IListT<AppCallInfo>* pActiveCallList = __pActiveCallList->GetValuesN();
+               __pEventListener->HandleCallConnected(*pActiveCallList);
+               delete pActiveCallList;
+               pActiveCallList = null;
        }
        else
        {
@@ -2214,6 +2210,7 @@ TelephonyManager::CheckIncomingCallToBeRejected(AppCallInfo* pIncomingCallInfo)
 void
 TelephonyManager::HandleCallback(TapiHandle* pHandle, const char* pNotiId, void* pData, void* pUserData)
 {
+       AppLogDebug("Enter");
        unsigned int tempHandle = 0;
        TelephonyManager* pTelManager = (TelephonyManager*) pUserData;
        if (pTelManager->__pSoundManager == null)