Enlarge cmd buffer size of FrameworkListener

Only Netd and Logd use FrameworkListener currently.
Run realted test to ensure anything are still fine.

Bug: 126307309
Test: built, flashed, booted
      system/netd/tests/runtests.sh pass
      atest CtsLogdTestCases

Change-Id: Iacd0cc13f23f457a0868a8a706080c3edc9a3cbd
This commit is contained in:
Luke Huang 2019-03-12 18:05:43 +08:00
parent c3e96512c0
commit 9f409f2e4c

View file

@ -26,7 +26,7 @@
#include <sysutils/FrameworkListener.h>
#include <sysutils/SocketClient.h>
static const int CMD_BUF_SIZE = 1024;
static const int CMD_BUF_SIZE = 4096;
FrameworkListener::FrameworkListener(const char *socketName, bool withSeq) :
SocketListener(socketName, true, withSeq) {