Merge "Tweak RuntimeInit docs around MimeMap registration."
This commit is contained in:
@@ -214,7 +214,10 @@ public class RuntimeInit {
|
|||||||
RuntimeHooks.setTimeZoneIdSupplier(() -> SystemProperties.get("persist.sys.timezone"));
|
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());
|
MimeMap.setDefault(MimeMapImpl.createDefaultInstance());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user