Loading cmds/app_process/Android.mk +1 −0 Original line number Original line Diff line number Diff line Loading @@ -5,6 +5,7 @@ app_process_common_shared_libs := \ libbinder \ libbinder \ libcutils \ libcutils \ libdl \ libdl \ libhwbinder \ liblog \ liblog \ libnativeloader \ libnativeloader \ libutils \ libutils \ Loading cmds/app_process/app_main.cpp +3 −1 Original line number Original line Diff line number Diff line Loading @@ -14,7 +14,7 @@ #include <unistd.h> #include <unistd.h> #include <binder/IPCThreadState.h> #include <binder/IPCThreadState.h> #include <binder/ProcessState.h> #include <hwbinder/IPCThreadState.h> #include <utils/Log.h> #include <utils/Log.h> #include <cutils/memory.h> #include <cutils/memory.h> #include <cutils/properties.h> #include <cutils/properties.h> Loading Loading @@ -85,6 +85,7 @@ public: ar->callMain(mClassName, mClass, mArgs); ar->callMain(mClassName, mClass, mArgs); IPCThreadState::self()->stopProcess(); IPCThreadState::self()->stopProcess(); hardware::IPCThreadState::self()->stopProcess(); } } virtual void onZygoteInit() virtual void onZygoteInit() Loading @@ -99,6 +100,7 @@ public: if (mClassName.isEmpty()) { if (mClassName.isEmpty()) { // if zygote // if zygote IPCThreadState::self()->stopProcess(); IPCThreadState::self()->stopProcess(); hardware::IPCThreadState::self()->stopProcess(); } } AndroidRuntime::onExit(code); AndroidRuntime::onExit(code); Loading Loading
cmds/app_process/Android.mk +1 −0 Original line number Original line Diff line number Diff line Loading @@ -5,6 +5,7 @@ app_process_common_shared_libs := \ libbinder \ libbinder \ libcutils \ libcutils \ libdl \ libdl \ libhwbinder \ liblog \ liblog \ libnativeloader \ libnativeloader \ libutils \ libutils \ Loading
cmds/app_process/app_main.cpp +3 −1 Original line number Original line Diff line number Diff line Loading @@ -14,7 +14,7 @@ #include <unistd.h> #include <unistd.h> #include <binder/IPCThreadState.h> #include <binder/IPCThreadState.h> #include <binder/ProcessState.h> #include <hwbinder/IPCThreadState.h> #include <utils/Log.h> #include <utils/Log.h> #include <cutils/memory.h> #include <cutils/memory.h> #include <cutils/properties.h> #include <cutils/properties.h> Loading Loading @@ -85,6 +85,7 @@ public: ar->callMain(mClassName, mClass, mArgs); ar->callMain(mClassName, mClass, mArgs); IPCThreadState::self()->stopProcess(); IPCThreadState::self()->stopProcess(); hardware::IPCThreadState::self()->stopProcess(); } } virtual void onZygoteInit() virtual void onZygoteInit() Loading @@ -99,6 +100,7 @@ public: if (mClassName.isEmpty()) { if (mClassName.isEmpty()) { // if zygote // if zygote IPCThreadState::self()->stopProcess(); IPCThreadState::self()->stopProcess(); hardware::IPCThreadState::self()->stopProcess(); } } AndroidRuntime::onExit(code); AndroidRuntime::onExit(code); Loading