Enable app-history service 93/117393/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 6 Mar 2017 03:45:08 +0000 (12:45 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 6 Mar 2017 03:45:08 +0000 (12:45 +0900)
Change-Id: Idc6d78341a44bd4c98891fe21738b2df5be4d8cc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt
packaging/context-service.spec
src/ServiceLoader.cpp

index 04043ff..6d7163c 100644 (file)
@@ -6,6 +6,7 @@ SET(target "contextd")
 
 SET(DEPS "libsystemd-login glib-2.0 gio-2.0 dlog capi-base-common alarm-service")
 SET(DEPS "${DEPS} context-common-server")
+SET(DEPS "${DEPS} app-history-server")
 SET(DEPS "${DEPS} sensor-recorder-server")
 SET(DEPS "${DEPS} context-store-server")
 
index ba0d993..cbe59f8 100644 (file)
@@ -17,6 +17,7 @@ BuildRequires: pkgconfig(capi-base-common)
 BuildRequires: pkgconfig(alarm-service)
 
 BuildRequires: pkgconfig(context-common-server)
+BuildRequires: pkgconfig(app-history-server)
 BuildRequires: pkgconfig(sensor-recorder-server)
 BuildRequires: pkgconfig(context-store-server)
 
index 9f4383a..fc298ab 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-//#include <AppHistoryService.h>
+#include <AppHistoryService.h>
 #include <SensorRecorderService.h>
 #include <ContextStoreService.h>
 //#include <JobSchedulerService.h>
@@ -42,7 +42,7 @@ ServiceLoader::~ServiceLoader()
 
 bool ServiceLoader::load(GDBusConnection* conn)
 {
-       //__create<AppHistoryService>(conn);
+       __create<AppHistoryService>(conn);
        __create<SensorRecorderService>(conn);
        __create<ContextStoreService>(conn);
        //__create<JobSchedulerService>(conn);