summaryrefslogtreecommitdiff
path: root/libs/binder/OS.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/OS.cpp
parentcf3bb13bd6971e30b7aacee303545a0b2ac6f37e (diff)
parent024727b29bd10909c2ddbb7a3cca9aa1dcec879d (diff)
Merge "libbinder: add makeDefaultRpcTransportCtxFactory"
Diffstat (limited to 'libs/binder/OS.cpp')
-rw-r--r--libs/binder/OS.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/binder/OS.cpp b/libs/binder/OS.cpp
index cc4a03ba67..24ce2bb465 100644
--- a/libs/binder/OS.cpp
+++ b/libs/binder/OS.cpp
@@ -17,6 +17,7 @@
#include "OS.h"
#include <android-base/file.h>
+#include <binder/RpcTransportRaw.h>
#include <string.h>
using android::base::ErrnoError;
@@ -58,4 +59,8 @@ status_t dupFileDescriptor(int oldFd, int* newFd) {
return OK;
}
+std::unique_ptr<RpcTransportCtxFactory> makeDefaultRpcTransportCtxFactory() {
+ return RpcTransportCtxFactoryRaw::make();
+}
+
} // namespace android