summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-09 15:35:41 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-09 15:35:41 -0700
commit70277a21d9e935b4afd30e14efd8a371e8a1aa9a (patch)
tree12d4882532e141f417611d15d32a2fa740a9028e /test-runner
parentc494ba2544699e576370b35b7e94fe09e29d1226 (diff)
parent3b95f5378957c4e985429dfefda3975416c1a039 (diff)
downloadframeworks_base-70277a21d9e935b4afd30e14efd8a371e8a1aa9a.zip
frameworks_base-70277a21d9e935b4afd30e14efd8a371e8a1aa9a.tar.gz
frameworks_base-70277a21d9e935b4afd30e14efd8a371e8a1aa9a.tar.bz2
Merge change 6223
* changes: Changes for new sync.
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/android/test/IsolatedContext.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-runner/android/test/IsolatedContext.java b/test-runner/android/test/IsolatedContext.java
index 03d95b7..4bd9528 100644
--- a/test-runner/android/test/IsolatedContext.java
+++ b/test-runner/android/test/IsolatedContext.java
@@ -17,6 +17,7 @@ import android.os.Handler;
import android.os.Looper;
import java.util.List;
+import java.io.File;
/**
* A mock context which prevents its users from talking to the rest of the device while
@@ -101,4 +102,8 @@ public class IsolatedContext extends ContextWrapper {
// do nothing
}
}
+ @Override
+ public File getFilesDir() {
+ return new File("/dev/null");
+ }
}