diff options
Diffstat (limited to '1.0/default/service.cpp')
-rw-r--r-- | 1.0/default/service.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/1.0/default/service.cpp b/1.0/default/service.cpp index d60ba88..37640cb 100644 --- a/1.0/default/service.cpp +++ b/1.0/default/service.cpp @@ -31,7 +31,7 @@ #include <android/hardware/nfc/1.0/INfc.h> #include <vendor/nxp/hardware/nfc/1.0/INqNfc.h> - +#include <hwbinder/ProcessState.h> #include <hidl/LegacySupport.h> using android::hardware::configureRpcThreadpool; @@ -42,6 +42,7 @@ using android::hardware::registerPassthroughServiceImplementation; using android::OK; int main() { + android::hardware::ProcessState::initWithMmapSize((size_t)(8192)); configureRpcThreadpool(1, true /*callerWillJoin*/); android::status_t status; status = registerPassthroughServiceImplementation<INfc>(); |