commit | 2c46f526e1f33f7ec93fd8e128cbafd3ae82af8b | [log] [tgz] |
---|---|---|
author | Bram Bonné <brambonne@google.com> | Thu Feb 27 13:35:06 2020 +0100 |
committer | Bram Bonné <brambonne@google.com> | Thu Feb 27 13:41:46 2020 +0100 |
tree | 2d9ed9833ccccca3651b6937f3a3d25760e917d7 | |
parent | 16522bd621f06c5a78a9baf2457c435600349ab8 [diff] |
Guess the MIME type from the display name. Extends MediaProvider to guess the MIME type from the file extension in the DISPLAY_NAME if it wasn't able to get it from the DATA column. Change-Id: Idca6836fbd91ec34383e08f9e7f9280f0e7198ee Fix: 142468597 Test: atest MediaProviderTest Test: atest ContentResolverTest