AI 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. BUG=1703143 Automated import of CL 143881
This commit is contained in:
committed by
The Android Open Source Project
parent
058dad6d77
commit
c01f497ad9
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user