diff options
Diffstat (limited to 'androidprefs/src/com/android/prefs/AndroidLocation.java')
-rw-r--r-- | androidprefs/src/com/android/prefs/AndroidLocation.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/androidprefs/src/com/android/prefs/AndroidLocation.java b/androidprefs/src/com/android/prefs/AndroidLocation.java index a7ceb76..68a87b7 100644 --- a/androidprefs/src/com/android/prefs/AndroidLocation.java +++ b/androidprefs/src/com/android/prefs/AndroidLocation.java @@ -32,9 +32,9 @@ public final class AndroidLocation { private static final String ANDROID_SDK_VERSION = "SDK-1.0"; /** - * VM folder inside the path returned by {@link #getFolder()} + * Virtual Device folder inside the path returned by {@link #getFolder()} */ - public static final String FOLDER_VMS = "vm"; + public static final String FOLDER_AVD = "avd"; /** * Throw when the location of the android folder couldn't be found. @@ -56,7 +56,7 @@ public final class AndroidLocation { */ public final static String getFolder() throws AndroidLocationException { if (sPrefsLocation == null) { - String home = findValidPath("user.home", "HOME"); + String home = findValidPath("ANDROID_SDK_HOME", "user.home", "HOME"); // if the above failed, we throw an exception. if (home == null) { |