diff options
author | 2021-06-03 19:33:25 +0000 | |
---|---|---|
committer | 2021-06-03 19:33:25 +0000 | |
commit | 8617ad805609e2d92de58b351342fc98aefa035c (patch) | |
tree | 44492e28a99a21adeb5ba88b80cc33caead71699 /libs/binder/RpcSession.cpp | |
parent | 79d131fbdb065b20bbd2974740bb7a026a1bb6af (diff) | |
parent | 52eee940ed5cf15eb9f6839697367d5cad847118 (diff) |
Merge "libbinder: RPC prevent oneway cmd buildup"
Diffstat (limited to 'libs/binder/RpcSession.cpp')
-rw-r--r-- | libs/binder/RpcSession.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp index a27dff5c8f..c5633771d0 100644 --- a/libs/binder/RpcSession.cpp +++ b/libs/binder/RpcSession.cpp @@ -240,7 +240,8 @@ void RpcSession::join(sp<RpcSession>&& session, unique_fd client) { sp<RpcConnection> connection = session->assignServerToThisThread(std::move(client)); while (true) { - status_t error = session->state()->getAndExecuteCommand(connection->fd, session); + status_t error = session->state()->getAndExecuteCommand(connection->fd, session, + RpcState::CommandType::ANY); if (error != OK) { LOG_RPC_DETAIL("Binder connection thread closing w/ status %s", |