commit | 923a41816c5290f86de87f76e571065c9ce0f5d9 | [log] [tgz] |
---|---|---|
author | Tim Kilbourn <tkilbourn@google.com> | Tue Sep 27 10:30:53 2011 -0700 |
committer | Mike Lockwood <lockwood@android.com> | Fri Oct 28 10:14:51 2011 -0400 |
tree | 54d080f208fa27560cf4dee479c97383d711830c | |
parent | 827af24a3ec43dc93bff21ffb45c573e102f8204 [diff] |
Fix PresenterClass by adding a _listener field Change-Id: I22578bba4d66d032f67ceec3e7232de13be4f175
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 @@ 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 @@ return proxy; } -