Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0c5a7af authored by Tobias Thierer's avatar Tobias Thierer Committed by android-build-merger
Browse files

Merge "Tweak RuntimeInit docs around MimeMap registration." am: bc637172

am: 41438c37

Change-Id: Id2c69ea4d9e0c75c871ab4ff3f7e609e4e2746cb
parents 4f05f46f 41438c37
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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());