AI 143885: am: CL 143883 am: CL 143881 AVD #1703143: delete AVDs not loaded correctly.

This covers the case where an AVD has an invalid target
  or is missing its AVD folder or the config.ini in it.
  Made some cosmetic cleanup too.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143885
This commit is contained in:
Raphael Moll
2009-03-31 17:24:12 -07:00
committed by The Android Open Source Project
parent dc9a9a7bf7
commit 4ca8a78df7
4 changed files with 96 additions and 41 deletions

View File

@@ -100,7 +100,7 @@ public class Sdk implements IProjectListener {
ISdkLog log = new ISdkLog() {
public void error(Throwable throwable, String errorFormat, Object... arg) {
if (errorFormat != null) {
logMessages.add(String.format(errorFormat, arg));
logMessages.add(String.format("Error: " + errorFormat, arg));
}
if (throwable != null) {
@@ -109,7 +109,7 @@ public class Sdk implements IProjectListener {
}
public void warning(String warningFormat, Object... arg) {
logMessages.add(String.format(warningFormat, arg));
logMessages.add(String.format("Warning: " + warningFormat, arg));
}
public void printf(String msgFormat, Object... arg) {