Merge "Tweak RuntimeInit docs around MimeMap registration." am: bc6371727c am: 41438c3730 am: b0c5a7af5a
am: bc59f857aa
Change-Id: I09976c187805459c01101e2c8dd1b056fc2067a5
This commit is contained in:
@@ -214,7 +214,10 @@ public class RuntimeInit {
|
||||
RuntimeHooks.setTimeZoneIdSupplier(() -> SystemProperties.get("persist.sys.timezone"));
|
||||
|
||||
/*
|
||||
* Set a default mapping between MIME types and file extensions.
|
||||
* Replace libcore's minimal default mapping between MIME types and file
|
||||
* extensions with a mapping that's suitable for Android. Android's mapping
|
||||
* contains many more entries that are derived from IANA registrations but
|
||||
* with several customizations (extensions, overrides).
|
||||
*/
|
||||
MimeMap.setDefault(MimeMapImpl.createDefaultInstance());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user