commit | 66fcb4beae9605cd034c9437e510b21260d6f519 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Thu Mar 23 15:24:13 2017 +0900 |
committer | Daichi Hirono <hirono@google.com> | Wed Apr 26 11:22:49 2017 +0900 |
tree | 161d7ef976f529d61db6324e2ac0d73652c20dae | |
parent | 21689ed8e37f291b38369acde340579c9945ed02 [diff] |
Fix doc flag for device having multiple storages Previously MtpDocumentsProvider#queryDocument returned FLAG_DIR_SUPPORTS_CREATE for device having multiple storages. This was wrong because if the device has multiple storages, MtpDocumentsProvider places the storages under the device document, thus users cannot create a document just under the device document. Bug: 35700994 Test: MtpDocumentsProviderTests Change-Id: Id73a34a2eaf4e10e23be3c2da7488036cea10000