summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/ContentProvider.java
diff options
context:
space:
mode:
authorFred Quintana <fredq@google.com>2009-12-09 16:00:31 -0800
committerJean-Baptiste Queru <jbq@google.com>2009-12-10 10:37:52 -0800
commit2ec6c5699181316e5a5c2cd293c006ac4a8bb101 (patch)
tree5dffd05ec1b6cd3630bef911631ef2150904088a /core/java/android/content/ContentProvider.java
parent8415afdb706c94cc297195a0dd5b5a62726d66e4 (diff)
downloadframeworks_base-2ec6c5699181316e5a5c2cd293c006ac4a8bb101.zip
frameworks_base-2ec6c5699181316e5a5c2cd293c006ac4a8bb101.tar.gz
frameworks_base-2ec6c5699181316e5a5c2cd293c006ac4a8bb101.tar.bz2
am 328c0e79: - removed the concept of Entity from the ContentProvider APIs - removed the parcelling ability from Entity and EntityIterator and made them public - added an EntityIterator abstract implementation that allow easy wrapping of a Cursor - changed the VCard c
Merge commit '328c0e7986aa6bb7752ec6de3da9c999920bb55f' into eclair-mr2-plus-aosp * commit '328c0e7986aa6bb7752ec6de3da9c999920bb55f': - removed the concept of Entity from the ContentProvider APIs
Diffstat (limited to 'core/java/android/content/ContentProvider.java')
-rw-r--r--core/java/android/content/ContentProvider.java19
1 files changed, 1 insertions, 18 deletions
diff --git a/core/java/android/content/ContentProvider.java b/core/java/android/content/ContentProvider.java
index 8d90b83..91b1c4e 100644
--- a/core/java/android/content/ContentProvider.java
+++ b/core/java/android/content/ContentProvider.java
@@ -163,15 +163,6 @@ public abstract class ContentProvider implements ComponentCallbacks {
selectionArgs, sortOrder);
}
- /**
- * @hide
- */
- public EntityIterator queryEntities(Uri uri, String selection, String[] selectionArgs,
- String sortOrder) {
- enforceReadPermission(uri);
- return ContentProvider.this.queryEntities(uri, selection, selectionArgs, sortOrder);
- }
-
public String getType(Uri uri) {
return ContentProvider.this.getType(uri);
}
@@ -477,14 +468,6 @@ public abstract class ContentProvider implements ComponentCallbacks {
String selection, String[] selectionArgs, String sortOrder);
/**
- * @hide
- */
- public EntityIterator queryEntities(Uri uri, String selection, String[] selectionArgs,
- String sortOrder) {
- throw new UnsupportedOperationException();
- }
-
- /**
* Return the MIME type of the data at the given URI. This should start with
* <code>vnd.android.cursor.item</code> for a single record,
* or <code>vnd.android.cursor.dir/</code> for multiple items.
@@ -581,7 +564,7 @@ public abstract class ContentProvider implements ComponentCallbacks {
/**
* Open a file blob associated with a content URI.
* This method can be called from multiple
- * threads, as described inentity
+ * threads, as described in
* <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals:
* Processes and Threads</a>.
*