Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0678a8c2 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

make sure to start the binder thread pool

Change-Id: I5c125a001936797489ebdcd0d4ccbde23adba282
parent 0a4962ad
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -23,7 +23,8 @@
#include <sys/ioctl.h>
#include <sys/mman.h>

#include <binder/IMemory.h>
#include <binder/ProcessState.h>

#include <gui/SurfaceComposerClient.h>
#include <gui/ISurfaceComposer.h>

@@ -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;