aboutsummaryrefslogtreecommitdiffstats
path: root/androidprefs/src
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-13 12:57:48 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-13 12:57:48 -0800
commitb58a893bf9ba96db9a544cd33af4828826b73061 (patch)
treefad6c5dfcfd5be12a702d9117d260db7bdc05254 /androidprefs/src
parent6990abcbc03c25aeff94da27ed6893e7993d2709 (diff)
downloadsdk-b58a893bf9ba96db9a544cd33af4828826b73061.zip
sdk-b58a893bf9ba96db9a544cd33af4828826b73061.tar.gz
sdk-b58a893bf9ba96db9a544cd33af4828826b73061.tar.bz2
auto import from //branches/cupcake/...@131421
Diffstat (limited to 'androidprefs/src')
-rw-r--r--androidprefs/src/com/android/prefs/AndroidLocation.java28
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