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

@ -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");