summaryrefslogtreecommitdiffstats
path: root/test-runner/src
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-05-30 15:38:35 -0700
committerJeff Sharkey <jsharkey@android.com>2014-05-30 16:26:45 -0700
commit2ee3c1e189819cc6efb4d7de24f1438bdb824087 (patch)
tree720b998ef3649c638848bfad692689dbabef4a7f /test-runner/src
parentb2f4bc8727f1df9d88f56a15c08cbf2cb8e2993c (diff)
downloadframeworks_base-2ee3c1e189819cc6efb4d7de24f1438bdb824087.zip
frameworks_base-2ee3c1e189819cc6efb4d7de24f1438bdb824087.tar.gz
frameworks_base-2ee3c1e189819cc6efb4d7de24f1438bdb824087.tar.bz2
Per-app media directories on external storage.
This change defines per-app directories on external storage that will be scanned and included in MediaStore. This gives apps a way to write content to secondary shared storage in a way that can easily be surfaced to other apps. Bug: 14382377 Change-Id: I4cb367c870509e76f0c2c598f01e2f699780030a
Diffstat (limited to 'test-runner/src')
-rw-r--r--test-runner/src/android/test/mock/MockContext.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java
index c162bf2..a54936b 100644
--- a/test-runner/src/android/test/mock/MockContext.java
+++ b/test-runner/src/android/test/mock/MockContext.java
@@ -608,4 +608,9 @@ public class MockContext extends Context {
public File[] getExternalCacheDirs() {
throw new UnsupportedOperationException();
}
+
+ @Override
+ public File[] getExternalMediaDirs() {
+ throw new UnsupportedOperationException();
+ }
}