summaryrefslogtreecommitdiffstats
path: root/libsysutils
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-03-24 10:26:47 -0700
committerMark Salyzyn <salyzyn@google.com>2014-04-17 16:14:24 +0000
commitdfc47e86858ea67c72f1df2fdb97094b8e8248f2 (patch)
tree749adb2e006a75d4deb2fb769b0dd7b6bc8d2914 /libsysutils
parent26bb9970c463eb1209803d833799f128484864ac (diff)
downloadcore-dfc47e86858ea67c72f1df2fdb97094b8e8248f2.tar.gz
core-dfc47e86858ea67c72f1df2fdb97094b8e8248f2.tar.bz2
core-dfc47e86858ea67c72f1df2fdb97094b8e8248f2.zip
logd: libsysutils: logd startup outside init environment
Change-Id: I3426b6c3eebdd0c8258e966dcaaaa2825d7a23d1
Diffstat (limited to 'libsysutils')
-rw-r--r--libsysutils/src/FrameworkListener.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsysutils/src/FrameworkListener.cpp b/libsysutils/src/FrameworkListener.cpp
index a5ffda230..01ed54e31 100644
--- a/libsysutils/src/FrameworkListener.cpp
+++ b/libsysutils/src/FrameworkListener.cpp
@@ -39,6 +39,11 @@ FrameworkListener::FrameworkListener(const char *socketName) :
init(socketName, false);
}
+FrameworkListener::FrameworkListener(int sock) :
+ SocketListener(sock, true) {
+ init(NULL, false);
+}
+
void FrameworkListener::init(const char *socketName UNUSED, bool withSeq) {
mCommands = new FrameworkCommandCollection();
errorRate = 0;