From 3390018c6b45acffa6edf97a4174ca49f1e8c76d Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Thu, 2 Jan 2014 11:04:18 -0500 Subject: Docfixes: three typos and escape */*. Change-Id: I418d855b5d08a1a20eaca3d8e4d2e5d0fca23dd5 --- core/java/android/content/ContentResolver.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/java/android/content/ContentResolver.java') diff --git a/core/java/android/content/ContentResolver.java b/core/java/android/content/ContentResolver.java index 4e6cc92..ba93a20 100644 --- a/core/java/android/content/ContentResolver.java +++ b/core/java/android/content/ContentResolver.java @@ -344,7 +344,7 @@ public abstract class ContentResolver { * @param url A Uri identifying content (either a list or specific type), * using the content:// scheme. * @param mimeTypeFilter The desired MIME type. This may be a pattern, - * such as *\/*, to query for all available MIME types that match the + * such as */*, to query for all available MIME types that match the * pattern. * @return Returns an array of MIME type strings for all available * data streams that match the given mimeTypeFilter. If there are none, @@ -815,7 +815,7 @@ public abstract class ContentResolver { * *

Note that if this function is called for read-only input (mode is "r") * on a content: URI, it will instead call {@link #openTypedAssetFileDescriptor} - * for you with a MIME type of "*\/*". This allows such callers to benefit + * for you with a MIME type of "*/*". This allows such callers to benefit * from any built-in data conversion that a provider implements. * * @param uri The desired URI to open. @@ -868,7 +868,7 @@ public abstract class ContentResolver { * *

Note that if this function is called for read-only input (mode is "r") * on a content: URI, it will instead call {@link #openTypedAssetFileDescriptor} - * for you with a MIME type of "*\/*". This allows such callers to benefit + * for you with a MIME type of "*/*". This allows such callers to benefit * from any built-in data conversion that a provider implements. * * @param uri The desired URI to open. @@ -993,7 +993,7 @@ public abstract class ContentResolver { * * @param uri The desired URI to open. * @param mimeType The desired MIME type of the returned data. This can - * be a pattern such as *\/*, which will allow the content provider to + * be a pattern such as */*, which will allow the content provider to * select a type, though there is no way for you to determine what type * it is returning. * @param opts Additional provider-dependent options. @@ -1026,7 +1026,7 @@ public abstract class ContentResolver { * * @param uri The desired URI to open. * @param mimeType The desired MIME type of the returned data. This can - * be a pattern such as *\/*, which will allow the content provider to + * be a pattern such as */*, which will allow the content provider to * select a type, though there is no way for you to determine what type * it is returning. * @param opts Additional provider-dependent options. -- cgit v1.1 From 8c44c394bf82a9a8b30bef32ddf46aeed31d8ae4 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Mon, 3 Mar 2014 10:14:41 -0500 Subject: Doc fixups to ContentResolver, MediaRouter. Change-Id: Ie821f971adf8fbbbbb6347713ae658e421d81cb8 --- core/java/android/content/ContentResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/android/content/ContentResolver.java') diff --git a/core/java/android/content/ContentResolver.java b/core/java/android/content/ContentResolver.java index ba93a20..2bf4d7d 100644 --- a/core/java/android/content/ContentResolver.java +++ b/core/java/android/content/ContentResolver.java @@ -1535,7 +1535,7 @@ public abstract class ContentResolver { * for a whole class of content. * @param notifyForDescendents If true changes to URIs beginning with uri * will also cause notifications to be sent. If false only changes to the exact URI - * specified by uri will cause notifications to be sent. If true, than any URI values + * specified by uri will cause notifications to be sent. If true, any URI values * at or below the specified URI will also trigger a match. * @param observer The object that receives callbacks when changes occur. * @see #unregisterContentObserver -- cgit v1.1