diff options
author | Tim Kilbourn <tkilbourn@google.com> | 2011-09-27 10:30:53 -0700 |
---|---|---|
committer | Tim Kilbourn <tkilbourn@google.com> | 2011-09-27 10:30:53 -0700 |
commit | b8a6f22e1b2b73b7ca4570ed3ce94ccea6b1c9ce (patch) | |
tree | 7c33249d16ea5c28578b8cb7378360d4eeb4f516 /tools/aidl/generate_java_rpc.cpp | |
parent | a129eb0a02d90ee22bdb9116d095220a9c486db3 (diff) | |
download | frameworks_base-b8a6f22e1b2b73b7ca4570ed3ce94ccea6b1c9ce.zip frameworks_base-b8a6f22e1b2b73b7ca4570ed3ce94ccea6b1c9ce.tar.gz frameworks_base-b8a6f22e1b2b73b7ca4570ed3ce94ccea6b1c9ce.tar.bz2 |
Fix PresenterClass by adding a _listener field
Change-Id: If5c4fab3bd9b5a42f066c183365aeeec65c87cbc
Diffstat (limited to 'tools/aidl/generate_java_rpc.cpp')
-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; } - |