Misc cleanup from a previous commit.

This commit is contained in:
Xavier Ducrohet
2009-06-30 00:44:18 -07:00
parent 90fc979977
commit c851d71fa2
3 changed files with 36 additions and 40 deletions

View File

@@ -612,14 +612,11 @@ class Main {
valid = true;
// get the hardware properties for this skin
File skinFile = avdManager.getSkinPath(skin, target);
if (skinFile.isDirectory()) { // this should not fail since we got the skin
// name from the target
File skinHardwareFle = new File(skinFile, AvdManager.HARDWARE_INI);
if (skinHardwareFle.isFile()) {
skinHardwareConfig = SdkManager.parsePropertyFile(
skinHardwareFle, mSdkLog);
}
File skinFolder = avdManager.getSkinPath(skin, target);
File skinHardwareFile = new File(skinFolder, AvdManager.HARDWARE_INI);
if (skinHardwareFile.isFile()) {
skinHardwareConfig = SdkManager.parsePropertyFile(
skinHardwareFile, mSdkLog);
}
break;
}