aboutsummaryrefslogtreecommitdiffstats
path: root/androidprefs
diff options
context:
space:
mode:
Diffstat (limited to 'androidprefs')
-rw-r--r--androidprefs/src/com/android/prefs/AndroidLocation.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/androidprefs/src/com/android/prefs/AndroidLocation.java b/androidprefs/src/com/android/prefs/AndroidLocation.java
index 9a537d5..c36048a 100644
--- a/androidprefs/src/com/android/prefs/AndroidLocation.java
+++ b/androidprefs/src/com/android/prefs/AndroidLocation.java
@@ -82,6 +82,13 @@ public final class AndroidLocation {
}
/**
+ * Resets the folder used to store android related files. For testing.
+ */
+ public final static void resetFolder() {
+ sPrefsLocation = null;
+ }
+
+ /**
* Checks a list of system properties and/or system environment variables for validity, and
* existing director, and returns the first one.
* @param names