diff options
-rw-r--r-- | tools/aidl/generate_java_rpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aidl/generate_java_rpc.cpp b/tools/aidl/generate_java_rpc.cpp index d705c79..bcd4b76 100644 --- a/tools/aidl/generate_java_rpc.cpp +++ b/tools/aidl/generate_java_rpc.cpp @@ -351,6 +351,7 @@ PresenterClass::PresenterClass(const interface_type* iface, Type* listenerType) this->extends = PRESENTER_BASE_TYPE; this->_listener = new Variable(listenerType, "_listener"); + this->elements.push_back(new Field(PRIVATE, this->_listener)); // methods generate_ctor(); @@ -957,4 +958,3 @@ generate_rpc_interface_class(const interface_type* iface) return proxy; } - |