diff options
author | Tim Kilbourn <tkilbourn@google.com> | 2011-09-27 10:30:53 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@google.com> | 2012-02-10 10:51:22 -0800 |
commit | 22a7cb8d4941bfb0a6d843cac7e21257ee12d683 (patch) | |
tree | a82c2bacf5d06b24138d813ac74be4f471b3844f /tools | |
parent | e24dbeafe64278408b3342fcb77756bc7d091791 (diff) | |
download | frameworks_base-22a7cb8d4941bfb0a6d843cac7e21257ee12d683.zip frameworks_base-22a7cb8d4941bfb0a6d843cac7e21257ee12d683.tar.gz frameworks_base-22a7cb8d4941bfb0a6d843cac7e21257ee12d683.tar.bz2 |
Fix PresenterClass by adding a _listener field
Diffstat (limited to 'tools')
-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; } - |