From 0678a8c250832a5549703f533f6afea9d8729e43 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 19 Mar 2013 20:56:00 -0700 Subject: [PATCH] make sure to start the binder thread pool Change-Id: I5c125a001936797489ebdcd0d4ccbde23adba282 --- cmds/screencap/screencap.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmds/screencap/screencap.cpp b/cmds/screencap/screencap.cpp index a1ea81ae6fe1d..d1963926fa3b7 100644 --- a/cmds/screencap/screencap.cpp +++ b/cmds/screencap/screencap.cpp @@ -23,7 +23,8 @@ #include #include -#include +#include + #include #include @@ -89,6 +90,8 @@ static status_t vinfoToPixelFormat(const fb_var_screeninfo& vinfo, int main(int argc, char** argv) { + ProcessState::self()->startThreadPool(); + const char* pname = argv[0]; bool png = false; int32_t displayId = DEFAULT_DISPLAY_ID;