diff options
| author | Steve McKay <smckay@google.com> | 2016-03-16 01:37:06 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-03-16 01:37:08 +0000 |
| commit | 709be25f04fd390b220eec1c0f5578df3be2b17e (patch) | |
| tree | b323dacae72a8269fc27e5a744bde89b7271c63d /core/java | |
| parent | 3c8702dd8113a780e6fd7240d8dfe8e82aaa283e (diff) | |
| parent | 168e464812341fdc64c3b85659b60114bee3b86e (diff) | |
Merge "Add FLAG_PARTIAL. Partial files can't be copied." into nyc-dev
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/provider/DocumentsContract.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/core/java/android/provider/DocumentsContract.java b/core/java/android/provider/DocumentsContract.java index e7a9b7d87fdd..4ad7969d1911 100644 --- a/core/java/android/provider/DocumentsContract.java +++ b/core/java/android/provider/DocumentsContract.java @@ -379,8 +379,18 @@ public final class DocumentsContract { * @see DocumentsProvider#queryChildDocuments(String, String[], String) * @hide */ - public static final int FLAG_ARCHIVE = 1 << 15; + + /** + * Flag indicating that a document is not complete, likely its + * contents are being downloaded. Partial files cannot be opened, + * copied, moved in the UI. But they can be deleted and retried + * if they represent a failed download. + * + * @see #COLUMN_FLAGS + * @hide + */ + public static final int FLAG_PARTIAL = 1 << 16; } /** |
