summaryrefslogtreecommitdiff
path: root/libs/binder/RpcServer.cpp
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-08-25 23:58:11 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-08-25 23:58:11 +0000
commit3966e43e5f70473fcbe5c5127bb72bd8eb56b65c (patch)
tree73a000723fc552d1188ca4168c5834fc8b22bd20 /libs/binder/RpcServer.cpp
parentcf3bb13bd6971e30b7aacee303545a0b2ac6f37e (diff)
parent024727b29bd10909c2ddbb7a3cca9aa1dcec879d (diff)
Merge "libbinder: add makeDefaultRpcTransportCtxFactory"
Diffstat (limited to 'libs/binder/RpcServer.cpp')
-rw-r--r--libs/binder/RpcServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp
index 49be4dd9eb..2efd113fef 100644
--- a/libs/binder/RpcServer.cpp
+++ b/libs/binder/RpcServer.cpp
@@ -55,7 +55,7 @@ RpcServer::~RpcServer() {
sp<RpcServer> RpcServer::make(std::unique_ptr<RpcTransportCtxFactory> rpcTransportCtxFactory) {
// Default is without TLS.
if (rpcTransportCtxFactory == nullptr)
- rpcTransportCtxFactory = RpcTransportCtxFactoryRaw::make();
+ rpcTransportCtxFactory = makeDefaultRpcTransportCtxFactory();
auto ctx = rpcTransportCtxFactory->newServerCtx();
if (ctx == nullptr) return nullptr;
return sp<RpcServer>::make(std::move(ctx));