add workaround code for LifeDuration
authorjungmin76.park <jungmin76.park@samsung.com>
Thu, 2 May 2013 11:17:24 +0000 (20:17 +0900)
committerjungmin76.park <jungmin76.park@samsung.com>
Thu, 2 May 2013 11:17:24 +0000 (20:17 +0900)
Change-Id: Ida616bbc4fac342f1e2caad79047fdc1ceb51a79
Signed-off-by: jungmin76.park <jungmin76.park@samsung.com>
src/app/FApp_ServiceAppImpl.cpp

index 7e8e4d7..cf024e3 100644 (file)
@@ -318,7 +318,11 @@ _ServiceAppImpl::OnTimerExpired(Timer& timer)
 {
        SysLog(NID_APP, "Life duration timer is expired, so terminating the application.");
        timer.Cancel();
-       App::GetInstance()->Terminate();
+
+       if( __pAppTerminatingInternalEventListener || __lifeDuration != 1800000) //Fixme: Remove this workaround code after all LifeDuration value of pre-loaded apps are fixed.
+       {
+               App::GetInstance()->Terminate();
+       }
 }
 
 void