From 22a7cb8d4941bfb0a6d843cac7e21257ee12d683 Mon Sep 17 00:00:00 2001 From: Tim Kilbourn Date: Tue, 27 Sep 2011 10:30:53 -0700 Subject: Fix PresenterClass by adding a _listener field --- tools/aidl/generate_java_rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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; } - -- cgit v1.1