code cleanup for app lifecycle management
authorYoung Ik Cho <youngik.cho@samsung.com>
Thu, 11 Jul 2013 06:35:33 +0000 (15:35 +0900)
committerYoung Ik Cho <youngik.cho@samsung.com>
Tue, 16 Jul 2013 00:39:34 +0000 (09:39 +0900)
Change-Id: Idc5356005beadff1df5cf4eba5f1a1e1661fb891
Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
src/app/FApp_AppManagerImpl.cpp [changed mode: 0755->0644]
src/app/inc/FApp_AppManagerImpl.h [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index ecaf130..ed16852
@@ -65,6 +65,7 @@
 #include "FAppPkg_PackageManagerImpl.h"
 #include "FAppPkg_PackageInfoImpl.h"
 #include "FApp_AppControlManager.h"
+#include "FApp_TemplateUtil.h"
 #include "FApp_Aul.h"
 #include "FSys_SystemInfoImpl.h"
 
@@ -273,7 +274,7 @@ _AppManagerImpl::Construct(void)
 {
        __appManagerEvent.Construct();
        __appLifecycleEvent.Construct();
-       __appListForAppLifecycle.Construct(0, 0, __strHashCodeProvider, __comparer);
+       __appListForAppLifecycle.Construct();
        result r = __mutex.Create();
         SysTryLog(NID_APP, r == E_SUCCESS, "Creating mutex failed.");
 
@@ -1356,7 +1357,7 @@ _AppManagerImpl::UnregisterAppForAppLifecycleEvent(const AppId& appId)
                else
                {
                        r = __appListForAppLifecycle.SetValue(appId, currentRefCnt);
-               }               
+               }
        }
        else
        {
old mode 100755 (executable)
new mode 100644 (file)
index fefdcda..e4b0135
@@ -34,8 +34,6 @@
 #include <FBaseRtIEventListener.h>
 #include <FAppAppManager.h>
 #include <FBaseSysLog.h>
-#include <FBaseStringHashCodeProvider.h>
-#include <FBaseComparerT.h>
 
 #include "FApp_Types.h"
 #include "FApp_AppManagerEvent.h"
@@ -427,8 +425,6 @@ private:
        Tizen::Base::Collection::LinkedListT<IActiveAppEventListener*> __activeAppEventListenerList;
        Tizen::App::_AppLifecycleEvent __appLifecycleEvent;
        Tizen::Base::Collection::HashMapT<Tizen::Base::String, int> __appListForAppLifecycle;
-       Tizen::Base::ComparerT<Tizen::Base::String>     __comparer;
-       Tizen::Base::StringHashCodeProvider     __strHashCodeProvider;
        Tizen::Base::Runtime::Mutex __mutex;
 
        friend class AppManager;