Use main thread for Binder transactions.
Make the main thread do something useful instead of sitting around twiddling its thumbs. Test: builds, boots Bug: 67041047 Change-Id: I88f7f4fe151ae2b81f80aa575530c12b56ba4d75
This commit is contained in:
parent
a6f6285875
commit
93396c14a8
1 changed files with 2 additions and 5 deletions
7
main.cpp
7
main.cpp
|
@ -130,12 +130,9 @@ int main(int argc, char** argv) {
|
|||
|
||||
ATRACE_END();
|
||||
|
||||
// Eventually we'll become the monitoring thread
|
||||
while(1) {
|
||||
pause();
|
||||
}
|
||||
android::IPCThreadState::self()->joinThreadPool();
|
||||
LOG(INFO) << "vold shutting down";
|
||||
|
||||
LOG(ERROR) << "Vold exiting";
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue