diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-03-24 10:26:47 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-04-17 16:14:24 +0000 |
commit | dfc47e86858ea67c72f1df2fdb97094b8e8248f2 (patch) | |
tree | 749adb2e006a75d4deb2fb769b0dd7b6bc8d2914 /libsysutils | |
parent | 26bb9970c463eb1209803d833799f128484864ac (diff) | |
download | core-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.cpp | 5 |
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; |