Support for hardware.ini per skin in add-ons.

Change-Id: Iab230f09504a7df34faa6a27c121a79ef1ffd603
This commit is contained in:
Xavier Ducrohet
2009-09-09 16:23:45 -07:00
parent e8bb54b5b7
commit e17ff22563
2 changed files with 1 additions and 11 deletions

View File

@@ -590,7 +590,6 @@ public final class AvdManager {
// priority order is:
// - values provided by the user
// - values provided by the skin
// - values provided by the target (add-on only).
// In order to follow this priority, we'll add the lowest priority values first and then
// override by higher priority values.
// In the case of a platform with override values from the user, the skin value might
@@ -598,16 +597,6 @@ public final class AvdManager {
HashMap<String, String> finalHardwareValues = new HashMap<String, String>();
File targetHardwareFile = new File(target.getLocation(), AvdManager.HARDWARE_INI);
if (targetHardwareFile.isFile()) {
Map<String, String> targetHardwareConfig = SdkManager.parsePropertyFile(
targetHardwareFile, log);
if (targetHardwareConfig != null) {
finalHardwareValues.putAll(targetHardwareConfig);
values.putAll(targetHardwareConfig);
}
}
// get the hardware properties for this skin
File skinFolder = getSkinPath(skinName, target);
File skinHardwareFile = new File(skinFolder, AvdManager.HARDWARE_INI);