diff options
author | Arthur Hung <arthurhung@google.com> | 2018-06-01 13:42:48 +0800 |
---|---|---|
committer | Arthur Hung <arthurhung@google.com> | 2018-06-07 04:54:37 +0000 |
commit | 430c6e6ebb6dbd9ef3ee500f132a49850a89855d (patch) | |
tree | 3feb59df5b430ed8bfa70c3203c670a1b3de5bbd /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 35f12ed10a39a8d833798e6e00ed8a290c240d49 (diff) |
Get mime type from getDocumentType instead of from file name
DownloadProvider and FileSystemProvide will decide mime type
in different way, so if some function like getDocumentMetadata
will try to get mime type and do some loading. It may reurn unsupported
Bug: 80454526
Test: Download jpg file, remove .jpg extension, get info
Change-Id: Ia8d237181eba51005981ba46a1be3a43af0f249c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions