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

Skip to content
Commit 0398eb5c authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Specify primary mime type for each format code.

MediaFile#getMimeTypeForFormatCode returns mimetype for MTP format
code. However MTP format code is ambiguous and some format code can be
mapped to several mime types.  Before the fix, the method returns mime
type that is last registered to internal static map.

The CL explicitly specifies the primary mime type for each format code
to prevent from unintentionally changing mime type returned for a format
code.

FIX=30266194

Change-Id: I142ccb9719d439b0378121bcdcd4b804b1505952
parent ef0d27f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment