From 1de48a256fa9f754d3171e90345cb6d2db25baba Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Mon, 30 Oct 2023 14:19:19 +0000 Subject: Revert^2 "Use std::unique_ptr instead of ScopeGuard" 25c1a3b8543dd1756308424dd65030f90bb7a99f Test: m Bug: 302723053 Change-Id: Id9355c10d78d0c55afb49f512b78bb0923fbc4f7 --- libs/binder/RpcSession.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libs/binder/RpcSession.cpp') diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp index 70382c0722..c895b21f91 100644 --- a/libs/binder/RpcSession.cpp +++ b/libs/binder/RpcSession.cpp @@ -26,8 +26,8 @@ #include -#include #include +#include #include #include #include @@ -50,6 +50,7 @@ extern "C" JavaVM* AndroidRuntimeGetJavaVM(); namespace android { +using namespace android::binder::impl; using base::unique_fd; RpcSession::RpcSession(std::unique_ptr ctx) : mCtx(std::move(ctx)) { @@ -494,7 +495,7 @@ status_t RpcSession::setupClient(const std::function