summaryrefslogtreecommitdiff
path: root/vibrator/1.0/default/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vibrator/1.0/default/service.cpp')
-rw-r--r--vibrator/1.0/default/service.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/vibrator/1.0/default/service.cpp b/vibrator/1.0/default/service.cpp
index 7cc074461d..b626056990 100644
--- a/vibrator/1.0/default/service.cpp
+++ b/vibrator/1.0/default/service.cpp
@@ -17,10 +17,14 @@
#include <android/hardware/vibrator/1.0/IVibrator.h>
#include <hidl/LegacySupport.h>
+#include <hwbinder/ProcessState.h>
using android::hardware::vibrator::V1_0::IVibrator;
using android::hardware::defaultPassthroughServiceImplementation;
int main() {
+#ifdef ARCH_ARM_32
+ android::hardware::ProcessState::initWithMmapSize((size_t)8192);
+#endif
return defaultPassthroughServiceImplementation<IVibrator>();
}