summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
index d31239b..5c51c63 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
@@ -1466,4 +1466,10 @@ public final class BridgeContext extends Context {
// pass
return new File[0];
}
+
+ @Override
+ public File[] getExternalMediaDirs() {
+ // pass
+ return new File[0];
+ }
}