From 0f3a5a6559a955ea20f1ae2d3e0995f3fa821c90 Mon Sep 17 00:00:00 2001 From: Marcin Kosiba Date: Thu, 11 Sep 2014 13:48:48 +0100 Subject: Don't use reflection when generating the onResourcesLoaded callback. BUG: 17466240 Change-Id: I74608f3d8b3617281639a9d387face97e15fb616 --- tools/aapt/Command.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/aapt/Command.cpp') 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; } -- cgit v1.2.3-59-g8ed1b