projects
/
platform
/
core
/
context
/
context-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6ce75
)
Store the dbus connection while launching the service
78/141278/1
author
Mu-Woong Lee
<muwoong.lee@samsung.com>
Sun, 30 Jul 2017 08:08:46 +0000
(17:08 +0900)
committer
Mu-Woong Lee
<muwoong.lee@samsung.com>
Sun, 30 Jul 2017 08:08:46 +0000
(17:08 +0900)
Change-Id: I64dd3781ddf584f441c08bb4406c9eeaf3ac377e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/server/ServerMain.cpp
patch
|
blob
|
history
diff --git
a/src/server/ServerMain.cpp
b/src/server/ServerMain.cpp
index 8bee8e4111383943c2aa3bed63053f5c204714b0..312574df4adba43a7dd19301468cdf66efe4dd16 100644
(file)
--- a/
src/server/ServerMain.cpp
+++ b/
src/server/ServerMain.cpp
@@
-22,6
+22,7
@@
#include <stdexcept>
#include <ContextTypes.h>
+#include <ServerUtil.h>
#include "DBusConnector.h"
#include "ServiceLoader.h"
#include "ActiveUserMonitor.h"
@@
-94,6
+95,7
@@
static gboolean __stop_service(gpointer data)
static void __bus_acquired(GDBusConnection* conn)
{
+ util::set_dbus_connection(conn);
__start_service(conn);
}