From e83cefcef07f9ac025642c1ffec76b4c7ab39cf2 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Thu, 4 Feb 2010 17:38:14 -0800 Subject: New external storage APIs. This implements the spec for external storage organization, and properly reflects how the media scanner organizes the files it finds. Also includes package manager support for removing app private files from external storage when the application is uninstalled. For the new APIs and paths, the main place to look is Environment and Context. --- .../src/com/android/layoutlib/bridge/BridgeContext.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tools') diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java index b670eee..57b5d4e 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java @@ -928,6 +928,12 @@ public final class BridgeContext extends Context { } @Override + public File getExternalCacheDir() { + // TODO Auto-generated method stub + return null; + } + + @Override public ContentResolver getContentResolver() { if (mContentResolver == null) { mContentResolver = new BridgeContentResolver(this); @@ -960,6 +966,12 @@ public final class BridgeContext extends Context { } @Override + public File getExternalFilesDir(String type) { + // TODO Auto-generated method stub + return null; + } + + @Override public String getPackageCodePath() { // TODO Auto-generated method stub return null; -- cgit v1.1