diff options
Diffstat (limited to 'androidprefs')
-rw-r--r-- | androidprefs/src/com/android/prefs/AndroidLocation.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/androidprefs/src/com/android/prefs/AndroidLocation.java b/androidprefs/src/com/android/prefs/AndroidLocation.java index 68a87b7..cfd9f53 100644 --- a/androidprefs/src/com/android/prefs/AndroidLocation.java +++ b/androidprefs/src/com/android/prefs/AndroidLocation.java @@ -22,15 +22,6 @@ import java.io.File; * Manages the location of the android files (including emulator files, ddms config, debug keystore) */ public final class AndroidLocation { - - /** - * Used to know where to store the user data image. - * <p/> - * This <em>must</em> match the constant ANDROID_SDK_VERSION used by the emulator - * to find its own emulator images. It is defined in tools/qemu/android.h - */ - private static final String ANDROID_SDK_VERSION = "SDK-1.0"; - /** * Virtual Device folder inside the path returned by {@link #getFolder()} */ @@ -80,25 +71,6 @@ public final class AndroidLocation { } /** - * Returns the folder where the emulator is going to find its android related files. - * @return an OS specific path, terminated by a separator. - * @throws AndroidLocationException - */ - public final static String getEmulatorFolder() throws AndroidLocationException { - String path = getFolder() + ANDROID_SDK_VERSION + File.separator; - - File f = new File(path); - if (f.exists() == false) { - f.mkdir(); - } else if (f.isFile()) { - throw new AndroidLocationException(path + - " is not a directory! This is required to run Android tools."); - } - - return path; - } - - /** * Checks a list of system properties and/or system environment variables for validity, and * existing director, and returns the first one. * @param names |