only show -aapt info in verbose mode

This commit is contained in:
Connor Tumbleson 2013-01-06 09:57:44 -06:00
parent e9196c28b8
commit aebdf7a519
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,6 @@
v1.5.2 (TBA)
-Fixed (issue #299) - output smali filename errors to screen during rebuild instead of filestream
-Only show the --aapt / -a info in verbose mode.
v1.5.1 PR3 (Released December 23 - 2012) Codename: Pre Release 3
-Reverted "Prevents removal of <uses-sdk> on decompile, but then throws warning on rebuild (issue #366)"

View File

@ -276,7 +276,10 @@ final public class AndrolibResources {
if (aaptFile.canRead() && aaptFile.exists()) {
aaptFile.setExecutable(true);
cmd.add(aaptFile.getPath());
LOGGER.info(aaptFile.getPath() + " being used as aapt location.");
if (flags.get("verbose")) {
LOGGER.info(aaptFile.getPath() + " being used as aapt location.");
}
} else {
LOGGER.warning("aapt location could not be found. Defaulting back to default");
cmd.add("aapt");