Loading cmds/servicemanager/main.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -45,10 +45,6 @@ public: IPCThreadState::self()->setupPolling(&binder_fd); LOG_ALWAYS_FATAL_IF(binder_fd < 0, "Failed to setupPolling: %d", binder_fd); // Flush after setupPolling(), to make sure the binder driver // knows about this thread handling commands. IPCThreadState::self()->flushCommands(); int ret = looper->addFd(binder_fd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, Loading libs/binder/IPCThreadState.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -629,6 +629,7 @@ status_t IPCThreadState::setupPolling(int* fd) } mOut.writeInt32(BC_ENTER_LOOPER); flushCommands(); *fd = mProcess->mDriverFD; return 0; } Loading Loading
cmds/servicemanager/main.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -45,10 +45,6 @@ public: IPCThreadState::self()->setupPolling(&binder_fd); LOG_ALWAYS_FATAL_IF(binder_fd < 0, "Failed to setupPolling: %d", binder_fd); // Flush after setupPolling(), to make sure the binder driver // knows about this thread handling commands. IPCThreadState::self()->flushCommands(); int ret = looper->addFd(binder_fd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, Loading
libs/binder/IPCThreadState.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -629,6 +629,7 @@ status_t IPCThreadState::setupPolling(int* fd) } mOut.writeInt32(BC_ENTER_LOOPER); flushCommands(); *fd = mProcess->mDriverFD; return 0; } Loading