From ffd012289dcbf8607659e49f8f8f11595072f463 Mon Sep 17 00:00:00 2001 From: Ivan Chiang Date: Wed, 18 Dec 2019 16:23:16 +0800 Subject: [PATCH] Update java doc for FLAG_DIR_BLOCKS_TREE Test: m -j Change-Id: I7793a60ff60a609222d931fd011e051578a96bbe Fix: 144764129 --- core/java/android/provider/DocumentsContract.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/android/provider/DocumentsContract.java b/core/java/android/provider/DocumentsContract.java index eb09930005b52..1e1e8c9231afc 100644 --- a/core/java/android/provider/DocumentsContract.java +++ b/core/java/android/provider/DocumentsContract.java @@ -553,7 +553,9 @@ public final class DocumentsContract { /** * Flag indicating that a document is a directory that wants to block itself * from being selected when the user launches an {@link Intent#ACTION_OPEN_DOCUMENT_TREE} - * intent. Only valid when {@link #COLUMN_MIME_TYPE} is {@link #MIME_TYPE_DIR}. + * intent. Individual files can still be selected when launched via other intents + * like {@link Intent#ACTION_OPEN_DOCUMENT} and {@link Intent#ACTION_GET_CONTENT}. + * Only valid when {@link #COLUMN_MIME_TYPE} is {@link #MIME_TYPE_DIR}. *

* Note that this flag only applies to the single directory to which it is * applied. It does not block the user from selecting either a parent or