diff options
| author | 2009-12-10 17:53:27 -0800 | |
|---|---|---|
| committer | 2009-12-10 17:53:27 -0800 | |
| commit | a5a8cc13d3f906650a1eb17e20e1b26d68b78453 (patch) | |
| tree | 656976c8ca4d5a7c096119a3e087770651c3009c /tools/aapt/Command.cpp | |
| parent | 7b0463a949b57620680b95e45c66a05f67426b74 (diff) | |
| parent | ce307f889b509143899a2221359219fbc91b618c (diff) | |
resolved conflicts for merge of ce307f88 to eclair-mr2
Diffstat (limited to 'tools/aapt/Command.cpp')
| -rw-r--r-- | tools/aapt/Command.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index ff9cc1142cd7..970a38152e8d 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -1152,7 +1152,12 @@ int doPackage(Bundle* bundle) // Write out R.java constants if (assets->getPackage() == assets->getSymbolsPrivatePackage()) { - err = writeResourceSymbols(bundle, assets, assets->getPackage(), true); + if (bundle->getCustomPackage() == NULL) { + err = writeResourceSymbols(bundle, assets, assets->getPackage(), true); + } else { + const String8 customPkg(bundle->getCustomPackage()); + err = writeResourceSymbols(bundle, assets, customPkg, true); + } if (err < 0) { goto bail; } |