fix for 38107
[apps/osp/Call.git] / src / CallBaseForm.cpp
index 8122a03..31d5ea3 100644 (file)
@@ -231,6 +231,7 @@ BaseForm::HandleCallDisconnected(bool isLastCall, IListT<AppCallInfo>& pCurrentA
                                pCallInfoList->Add(pCaller);
                        }
                }
+
                if (callCount == 1)
                {
                        //fetch call info and add to list
@@ -246,7 +247,8 @@ BaseForm::HandleCallDisconnected(bool isLastCall, IListT<AppCallInfo>& pCurrentA
 
                        if (isLastCall == true)
                        {
-                               //goto End Call form if single call. else terminate
+                               //list contains 1 last ended call to show EndCall screen.
+                               //goto End Call form if single call was ended else terminate
                                if (callInfo.IsConferenceCall() == false)
                                {
                                        pSceneManager->GoForward(ForwardSceneTransition(IDSCN_SCENE_ENDCALL), pCallInfoList);
@@ -258,6 +260,7 @@ BaseForm::HandleCallDisconnected(bool isLastCall, IListT<AppCallInfo>& pCurrentA
                        }
                        else
                        {
+                               //list contains 1 active call
                                if (pCurrentActiveCallList.GetCount() == 1)
                                {
                                        if (callInfo.IsConferenceCall() == true)
@@ -274,6 +277,7 @@ BaseForm::HandleCallDisconnected(bool isLastCall, IListT<AppCallInfo>& pCurrentA
                }
                else
                {
+                       //multiple active calls are present.
                        pSceneManager->GoForward(ForwardSceneTransition(IDSCN_SCENE_MULTIPLEACTIVECALL), pCallInfoList);
                }
        }