summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTim Kilbourn <tkilbourn@google.com>2011-09-27 10:30:53 -0700
committerMike Lockwood <lockwood@google.com>2012-02-10 10:51:22 -0800
commit22a7cb8d4941bfb0a6d843cac7e21257ee12d683 (patch)
treea82c2bacf5d06b24138d813ac74be4f471b3844f /tools
parente24dbeafe64278408b3342fcb77756bc7d091791 (diff)
downloadframeworks_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.cpp2
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;
}
-