summaryrefslogtreecommitdiff
path: root/Binder.cpp
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2016-05-12 12:33:28 +0200
committerMartijn Coenen <maco@google.com>2016-05-17 15:07:05 +0200
commite01f4f2b38beb5799dece8742eef5d70d131dbd3 (patch)
treeb872dfcae2b627315a92bee3a27aecb9f70fe22d /Binder.cpp
parent4080edcfb5810a4a1817c03740f5f1bb19815ae1 (diff)
downloadlibhwbinder-e01f4f2b38beb5799dece8742eef5d70d131dbd3.tar.gz
Move hwbinder to the android::hidl namespace.
This should prevent clashes if projects do want to link in both libbinder and libhwbinder. Also had to pull in Static.h from frameworks/native/include/private/binder, as that was not part of the history we pulled from frameworks/native. Change-Id: Ib7379e61229c3e68478f9c5530875292e1d51ded
Diffstat (limited to 'Binder.cpp')
-rw-r--r--Binder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Binder.cpp b/Binder.cpp
index 7581d65..d2af3ce 100644
--- a/Binder.cpp
+++ b/Binder.cpp
@@ -26,6 +26,7 @@
#include <stdio.h>
namespace android {
+namespace hidl {
// ---------------------------------------------------------------------------
@@ -301,4 +302,5 @@ bool BpRefBase::onIncStrongAttempted(uint32_t /*flags*/, const void* /*id*/)
// ---------------------------------------------------------------------------
+}; // namespace hidl
}; // namespace android