commit | 295ad30bf6212c16accc5095601b2a71d44b4c8b | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Aug 16 11:35:00 2016 -0700 |
committer | Martijn Coenen <maco@google.com> | Wed Aug 17 11:18:00 2016 +0000 |
tree | 2a893a6108457f48828821eec25bbd518110a152 | |
parent | 9d3c4b81c3d256112c8b5eea723e222baa63eb83 [diff] [blame] |
Support for a generic "binder" type (reflected as "interface" in hidl) marshaled as a sp<hwbinder::IBinder>. Bug: 30884691 Change-Id: I157d78fbbe839637805359441925aec597c52383
diff --git a/Interface.cpp b/Interface.cpp index d453986..9d1adf8 100644 --- a/Interface.cpp +++ b/Interface.cpp
@@ -25,6 +25,10 @@ return true; } +bool Interface::isBinder() const { + return true; +} + const std::vector<Method *> &Interface::methods() const { return mMethods; }