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>
Wed, 4 Sep 2013 10:18:04 +0000 (19:18 +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 44000c8..7d8b88e
@@ -60,6 +60,7 @@
 #include "FAppPkg_PackageManagerImpl.h"
 #include "FAppPkg_PackageInfoImpl.h"
 #include "FApp_AppControlManager.h"
+#include "FApp_TemplateUtil.h"
 #include "FApp_Aul.h"
 #include "FApp_AppLifecycleEvent.h"
 #include "FApp_AppLifecycleEventArg.h"
@@ -136,7 +137,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.");
 
@@ -1002,7 +1003,7 @@ _AppManagerImpl::UnregisterAppForAppLifecycleEvent(const AppId& appId)
                else
                {
                        r = __appListForAppLifecycle.SetValue(appId, currentRefCnt);
-               }               
+               }
        }
        else
        {
old mode 100755 (executable)
new mode 100644 (file)
index 098c249..bd1d884
@@ -33,8 +33,6 @@
 #include <FBaseRtIEventListener.h>
 #include <FAppAppManager.h>
 #include <FBaseSysLog.h>
-#include <FBaseStringHashCodeProvider.h>
-#include <FBaseComparerT.h>
 
 #include "FApp_Types.h"
 #include "FApp_AppManagerEvent.h"
@@ -407,8 +405,6 @@ private:
        _AppManagerEvent __appManagerEvent;
        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;