__appManagerEvent.Construct();
__appLifecycleEvent.Construct();
__appListForAppLifecycle.Construct(0, 0, __strHashCodeProvider, __comparer);
- __mutex.Create();
+ result r = __mutex.Create();
+ SysTryLog(NID_APP, r == E_SUCCESS, "Creating mutex failed.");
_IAppManager* pMgr = _AppManagerProxy::GetService();
//todo : uncomment following _SysTryReturn or put assert.
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);
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, "Exit");
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);
}
r = __mutex.Release();
+ SysTryLog(NID_APP, r == E_SUCCESS, "Releasing mutex failed.");
SysLog(NID_APP, "Exit");
{
SysTryLog(NID_APP, __pServiceEventListener != null, "__pServiceEventListener instance must not be null.");
- _AppLifecycleEventType eventType;
+ _AppLifecycleEventType eventType = _APP_LIFECYCLE_EVENT_LAUNCH;
if (appLifecycleEventType == 0)
{