Loading libs/binder/RpcState.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -701,7 +701,12 @@ status_t RpcState::processCommand(const sp<RpcSession::RpcConnection>& connectio switch (command.command) { case RPC_COMMAND_TRANSACT: if (type != CommandType::ANY) return BAD_TYPE; if (type != CommandType::ANY) { ALOGE("CommandType %d, but got RPC command %d.", static_cast<int>(type), command.command); (void)session->shutdownAndWait(false); return BAD_TYPE; } return processTransact(connection, session, command); case RPC_COMMAND_DEC_STRONG: return processDecStrong(connection, session, command); Loading Loading
libs/binder/RpcState.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -701,7 +701,12 @@ status_t RpcState::processCommand(const sp<RpcSession::RpcConnection>& connectio switch (command.command) { case RPC_COMMAND_TRANSACT: if (type != CommandType::ANY) return BAD_TYPE; if (type != CommandType::ANY) { ALOGE("CommandType %d, but got RPC command %d.", static_cast<int>(type), command.command); (void)session->shutdownAndWait(false); return BAD_TYPE; } return processTransact(connection, session, command); case RPC_COMMAND_DEC_STRONG: return processDecStrong(connection, session, command); Loading