Change-Id: Iad8760c64e6a6fdca2272ce678f4e865f40ce4ba
Signed-off-by: Karthik Subas Chandra Bose <karthik.scb@samsung.com>
__appManagerEvent.Construct();
__appLifecycleEvent.Construct();
__appListForAppLifecycle.Construct(0, 0, __strHashCodeProvider, __comparer);
__appManagerEvent.Construct();
__appLifecycleEvent.Construct();
__appListForAppLifecycle.Construct(0, 0, __strHashCodeProvider, __comparer);
+ result r = __mutex.Create();
+ SysTryLog(NID_APP, r == E_SUCCESS, "Creating mutex failed.");
_IAppManager* pMgr = _AppManagerProxy::GetService();
//todo : uncomment following _SysTryReturn or put assert.
_IAppManager* pMgr = _AppManagerProxy::GetService();
//todo : uncomment following _SysTryReturn or put assert.
SysLog(NID_APP, "Enter");
result r = __mutex.Acquire();
SysLog(NID_APP, "Enter");
result r = __mutex.Acquire();
+ SysTryLog(NID_APP, r == E_SUCCESS, "Acquiring mutex failed.");
bool isContained = false;
r = __appListForAppLifecycle.ContainsKey(appId, isContained);
bool isContained = false;
r = __appListForAppLifecycle.ContainsKey(appId, isContained);
SysLog(NID_APP, "The appId(%ls) is registered.", appId.GetPointer());
}
r = __mutex.Release();
SysLog(NID_APP, "The appId(%ls) is registered.", appId.GetPointer());
}
r = __mutex.Release();
+ SysTryLog(NID_APP, r == E_SUCCESS, "Releasing mutex failed.");
SysLog(NID_APP, "Enter");
result r = __mutex.Acquire();
SysLog(NID_APP, "Enter");
result r = __mutex.Acquire();
+ SysTryLog(NID_APP, r == E_SUCCESS, "Acquiring mutex failed.");
bool isContained = false;
r = __appListForAppLifecycle.ContainsKey(appId, isContained);
bool isContained = false;
r = __appListForAppLifecycle.ContainsKey(appId, isContained);
+ SysTryLog(NID_APP, r == E_SUCCESS, "Releasing mutex failed.");
{
SysTryLog(NID_APP, __pServiceEventListener != null, "__pServiceEventListener instance must not be null.");
{
SysTryLog(NID_APP, __pServiceEventListener != null, "__pServiceEventListener instance must not be null.");
- _AppLifecycleEventType eventType;
+ _AppLifecycleEventType eventType = _APP_LIFECYCLE_EVENT_LAUNCH;
if (appLifecycleEventType == 0)
{
if (appLifecycleEventType == 0)
{