diff options
author | Jeff Sharkey <jsharkey@android.com> | 2020-01-10 16:44:23 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2020-01-10 16:44:25 -0700 |
commit | 01c5b10196e71b345f293884cb482155e8a879a5 (patch) | |
tree | d845a830905a6412a5409823368e4beb63f470a7 | |
parent | 10076e754466d6afe2b84d3416a845eb1d5a4b8d (diff) |
Add more specific subtitles and lyrics MIME types.
"srt" subtitles have a more specific MIME type of
"application/x-subrip", as listed here in Apache and therefore widely
used across the Internet:
http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types
"lrc" lyrics have a more specific MIME type of
"application/lrc", as determined here from the archive.org scraping
of popular Internet sites:
https://discuss.httparchive.org/t/keeping-etc-mime-types-up-to-date/825
Bug: 143707020
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I9598d1de920f29fbda7efa3c17b5632f756a65f2
-rw-r--r-- | mime/java-res/android.mime.types | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mime/java-res/android.mime.types b/mime/java-res/android.mime.types index cb04d921bd67..c1f8b3f0e195 100644 --- a/mime/java-res/android.mime.types +++ b/mime/java-res/android.mime.types @@ -46,6 +46,7 @@ # <extension1> and <extension2> are mapped (or remapped) to <mimeType>. ?application/epub+zip epub +?application/lrc lrc ?application/pkix-cert cer ?application/rss+xml rss ?application/sdp sdp @@ -65,6 +66,7 @@ ?application/x-mpegurl m3u m3u8 ?application/x-pem-file pem ?application/x-pkcs12 p12 pfx +?application/x-subrip srt ?application/x-webarchive webarchive ?application/x-webarchive-xml webarchivexml ?application/x-x509-server-cert crt |