summaryrefslogtreecommitdiff
path: root/tools/aapt/Command.cpp
diff options
context:
space:
mode:
authorMarcin Kosiba <mkosiba@google.com>2014-09-11 13:48:48 +0100
committerMarcin Kosiba <mkosiba@google.com>2014-09-11 16:02:13 +0100
commit0f3a5a6559a955ea20f1ae2d3e0995f3fa821c90 (patch)
treed00b9872793dd4a7e4618f489edfd934b30660d7 /tools/aapt/Command.cpp
parenta41c4bcc3dcac9e808c9d524e24454d132790e9a (diff)
Don't use reflection when generating the onResourcesLoaded callback.
BUG: 17466240 Change-Id: I74608f3d8b3617281639a9d387face97e15fb616
Diffstat (limited to 'tools/aapt/Command.cpp')
-rw-r--r--tools/aapt/Command.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp
index 27e60f3b85d7..41d8502c5331 100644
--- a/tools/aapt/Command.cpp
+++ b/tools/aapt/Command.cpp
@@ -2390,7 +2390,8 @@ int doPackage(Bundle* bundle)
char* packageString = strtok(libs.lockBuffer(libs.length()), ":");
while (packageString != NULL) {
// Write the R.java file out with the correct package name
- err = writeResourceSymbols(bundle, assets, String8(packageString), true, false);
+ err = writeResourceSymbols(bundle, assets, String8(packageString), true,
+ bundle->getBuildSharedLibrary());
if (err < 0) {
goto bail;
}