summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-05-09 18:18:40 -0700
committerDianne Hackborn <hackbod@google.com>2012-05-09 18:18:40 -0700
commit652b6d1e591f6684cda4b93d4712920f287991b4 (patch)
tree5ffe183aa2cbe66c8b8b89e8f3a809e4e7f4c603 /tools
parenta53de0629f3b94472c0f160f5bbe1090b020feab (diff)
downloadframeworks_base-652b6d1e591f6684cda4b93d4712920f287991b4.zip
frameworks_base-652b6d1e591f6684cda4b93d4712920f287991b4.tar.gz
frameworks_base-652b6d1e591f6684cda4b93d4712920f287991b4.tar.bz2
Add infrastructure for accessing "unstable" content providers.
We have an API and some stuff that purports to this, but no real implementation yet. Change-Id: I93555440014a50fdf79fa3f65318d90fb82265b4
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
index 0257686..fec2c3f 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
@@ -62,6 +62,16 @@ public class BridgeContentResolver extends ContentResolver {
return false;
}
+ @Override
+ protected IContentProvider acquireUnstableProvider(Context c, String name) {
+ return acquireProvider(c, name);
+ }
+
+ @Override
+ public boolean releaseUnstableProvider(IContentProvider icp) {
+ return releaseProvider(icp);
+ }
+
/**
* Stub for the layoutlib bridge content resolver.
*/