OSDN Git Service

Clarify DocumentsProvider recents behavior.
authorJeff Sharkey <jsharkey@android.com>
Tue, 5 Nov 2013 20:38:21 +0000 (12:38 -0800)
committerJeff Sharkey <jsharkey@android.com>
Tue, 5 Nov 2013 20:38:21 +0000 (12:38 -0800)
Bug: 11448309
Change-Id: I17e0ac757e549b251e08d58d5ce7d25fb253883f

core/java/android/provider/DocumentsProvider.java

index 25d6f5b..cc81be5 100644 (file)
@@ -216,6 +216,8 @@ public abstract class DocumentsProvider extends ContentProvider {
      * {@link Root#FLAG_SUPPORTS_RECENTS}. The returned documents should be
      * sorted by {@link Document#COLUMN_LAST_MODIFIED} in descending order, and
      * limited to only return the 64 most recently modified documents.
+     * <p>
+     * Recent documents do not support change notifications.
      *
      * @param projection list of {@link Document} columns to put into the
      *            cursor. If {@code null} all supported columns should be