diff options
author | Jeff Sharkey <jsharkey@android.com> | 2014-06-04 16:42:47 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2014-06-09 17:07:58 -0700 |
commit | b9fbb7290b02de1ce621deaa2d28a5e42f2e0937 (patch) | |
tree | 059bb4d64dc433b7a8bd2180ed6a0157e840be0b /packages/ExternalStorageProvider | |
parent | 19dba9a37d5885503ab08be873d1e3e3e8f93c9c (diff) | |
download | frameworks_base-b9fbb7290b02de1ce621deaa2d28a5e42f2e0937.zip frameworks_base-b9fbb7290b02de1ce621deaa2d28a5e42f2e0937.tar.gz frameworks_base-b9fbb7290b02de1ce621deaa2d28a5e42f2e0937.tar.bz2 |
Refactor directory API to "opening document tree."
Cleans up API so it consistently refers to opening or working with a
subtree of documents. Also separates isChildDocument() support from
the concept of directory tree selection.
Bug: 15429194
Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9
Diffstat (limited to 'packages/ExternalStorageProvider')
-rw-r--r-- | packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java b/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java index d388ab7..9473eb9 100644 --- a/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java +++ b/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java @@ -145,7 +145,7 @@ public class ExternalStorageProvider extends DocumentsProvider { final RootInfo root = new RootInfo(); root.rootId = rootId; root.flags = Root.FLAG_SUPPORTS_CREATE | Root.FLAG_LOCAL_ONLY | Root.FLAG_ADVANCED - | Root.FLAG_SUPPORTS_SEARCH | Root.FLAG_SUPPORTS_DIR_SELECTION; + | Root.FLAG_SUPPORTS_SEARCH | Root.FLAG_SUPPORTS_IS_CHILD; if (ROOT_ID_PRIMARY_EMULATED.equals(rootId)) { root.title = getContext().getString(R.string.root_internal_storage); } else { |