From: kibak.yoon Date: Wed, 25 May 2016 08:53:40 +0000 (+0900) Subject: sensord: initialize dbus when sensord is launched X-Git-Tag: accepted/tizen/common/20160627.191141~1^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e93b462a0a9e10411876ef5f4a12e50dea3c7aaf;p=platform%2Fcore%2Fsystem%2Fsensord.git sensord: initialize dbus when sensord is launched Change-Id: Ie8563a7892cdb70ef01d29b329daa85f1ea47281 Signed-off-by: kibak.yoon --- diff --git a/src/server/main.cpp b/src/server/main.cpp index d19c744..e3e9f73 100644 --- a/src/server/main.cpp +++ b/src/server/main.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -93,6 +94,8 @@ int main(int argc, char *argv[]) signal_init(); + init_dbus(); + set_cal_data(); /* TODO: loading sequence has to be moved to server */ @@ -102,7 +105,8 @@ int main(int argc, char *argv[]) server::get_instance().run(); server::get_instance().stop(); - _I("Sensord terminated"); + fini_dbus(); + _I("Sensord terminated"); return 0; }