diff options
author | 2023-11-03 17:20:41 +0000 | |
---|---|---|
committer | 2023-11-03 17:20:41 +0000 | |
commit | 6da313b7f2269fc2a84d7c202d7947312bfd9bd6 (patch) | |
tree | 0659c5e85b7eac08673beaa207b45aa71394805e /libs/binder/RpcSession.cpp | |
parent | 1f2f3de8ffeabe6d0816f3140cd5cb89840bb1a2 (diff) | |
parent | df07f945b946fd1f7039d225ecd3de51a901ace7 (diff) |
Merge "Binder: migrate off libbase macros" into main
Diffstat (limited to 'libs/binder/RpcSession.cpp')
-rw-r--r-- | libs/binder/RpcSession.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 <string_view> -#include <android-base/macros.h> #include <android-base/scopeguard.h> #include <binder/BpBinder.h> #include <binder/Parcel.h> @@ -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() { |