From df07f945b946fd1f7039d225ecd3de51a901ace7 Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Thu, 2 Nov 2023 15:07:45 -0700 Subject: Binder: migrate off libbase macros Test: mma Bug: 302723053 Change-Id: Ie7c13c324311f600d72bc8ecc4157ad6c46259a0 --- libs/binder/RpcSession.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/binder/RpcSession.cpp') diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp index c8aff63078..7e181941a9 100644 --- a/libs/binder/RpcSession.cpp +++ b/libs/binder/RpcSession.cpp @@ -26,7 +26,6 @@ #include -#include #include #include #include @@ -411,7 +410,9 @@ public: } private: - DISALLOW_COPY_AND_ASSIGN(JavaThreadAttacher); + JavaThreadAttacher(const JavaThreadAttacher&) = delete; + void operator=(const JavaThreadAttacher&) = delete; + bool mAttached = false; static JavaVM* getJavaVM() { -- cgit v1.2.3-59-g8ed1b