diff options
Diffstat (limited to 'light/2.0/default/service.cpp')
-rw-r--r-- | light/2.0/default/service.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/light/2.0/default/service.cpp b/light/2.0/default/service.cpp index 70ae5655d1..0fc4795f27 100644 --- a/light/2.0/default/service.cpp +++ b/light/2.0/default/service.cpp @@ -18,10 +18,14 @@ #include <android/hardware/light/2.0/ILight.h> #include <hidl/LegacySupport.h> +#include <hwbinder/ProcessState.h> using android::hardware::light::V2_0::ILight; using android::hardware::defaultPassthroughServiceImplementation; int main() { +#ifdef ARCH_ARM_32 + android::hardware::ProcessState::initWithMmapSize((size_t)(32768)); +#endif return defaultPassthroughServiceImplementation<ILight>(); } |