diff options
author | Daichi Hirono <hirono@google.com> | 2017-03-23 15:24:13 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2017-04-26 11:22:49 +0900 |
commit | 66fcb4beae9605cd034c9437e510b21260d6f519 (patch) | |
tree | 161d7ef976f529d61db6324e2ac0d73652c20dae /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions