Fix for N_SE-47477
[apps/osp/Call.git] / src / CallConfCallerListForm.cpp
index d3ce4cc..6159b6e 100644 (file)
@@ -19,6 +19,7 @@
  * @brief      Conference caller list form
  */
 #include <FSystem.h>
+#include "CallApp.h"
 #include "CallConfCallerListForm.h"
 #include "CallAppUtility.h"
 #include "CallPresentationModel.h"
@@ -325,7 +326,8 @@ ConfCallerListForm::OnSceneActivatedN(const SceneId& previousSceneId, const Scen
        }
 
        //show active call timer
-       ShowTimerInfo(IDC_CALL_TIME_LABEL, __pConfCallInfo->GetCallConnectTime());
+//     ShowTimerInfo(IDC_CALL_TIME_LABEL, __pConfCallInfo->GetCallConnectTime());
+       ShowTimerInfo(IDC_CALL_TIME_LABEL, __pConfCallInfo->GetDurationTime());
 
        //Set the correct bitmap to the "hold" button based on the current state of the call
        SetHoldButtonStatus(__pConfCallInfo->IsOnHold());
@@ -492,7 +494,9 @@ ConfCallerListForm::ShowTimerInfo(const String& timerLblName, long long startTim
        {
                //current system time
                long long currTime = 0;
-               SystemTime::GetTicks(currTime);
+               //SystemTime::GetTicks(currTime);
+               CallApp* pPhoneApp = static_cast<CallApp*>(CallApp::GetInstance());
+               currTime = pPhoneApp->GetCallAppTicks();
                //Set call duration
                TimeSpan diffSpan(abs(startTime - currTime));