Resolve some name conflict in auto-gen'd Java code.
HIDL can now use ArrayList, HwBlob etc. as type names.
Bug: 31527497
Test: mma
Change-Id: I76c62d14d4f19a73bbc1de76e88e5be6a7df5542
diff --git a/Interface.cpp b/Interface.cpp
index 317c18c..24d59ec 100644
--- a/Interface.cpp
+++ b/Interface.cpp
@@ -79,7 +79,7 @@
},
[this](auto &out) { /* javaImpl */
std::vector<const Interface *> chain = typeChain();
- out << "return new ArrayList<String>(Arrays.asList(\n";
+ out << "return new java.util.ArrayList<String>(java.util.Arrays.asList(\n";
out.indent(); out.indent();
for (size_t i = 0; i < chain.size(); ++i) {
if (i != 0)