diff options
Diffstat (limited to 'cmds/system_server/library/system_init.cpp')
-rw-r--r-- | cmds/system_server/library/system_init.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/system_server/library/system_init.cpp b/cmds/system_server/library/system_init.cpp index ca84692621c7..9df2ea23da96 100644 --- a/cmds/system_server/library/system_init.cpp +++ b/cmds/system_server/library/system_init.cpp @@ -94,12 +94,12 @@ extern "C" status_t system_init() if (methodId == NULL) { return UNKNOWN_ERROR; } - env->CallStaticVoidMethod(clazz, methodId); - ALOGI("System server: entering thread pool.\n"); + ALOGI("System server: entering thread pool."); ProcessState::self()->startThreadPool(); - IPCThreadState::self()->joinThreadPool(); - ALOGI("System server: exiting thread pool.\n"); + + // This is the main thread of the system server, and will never exit. + env->CallStaticVoidMethod(clazz, methodId); return NO_ERROR; } |