summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2016-07-21 17:08:09 +0900
committerDaichi Hirono <hirono@google.com>2016-07-21 17:08:09 +0900
commit0398eb5c1baab82bf6498be74340c7eedee35ea1 (patch)
tree65f234bc8dbb03dd24b9ec9f581a09b0b9c495a7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentef0d27f1cb87a691b863447358d68458fc194048 (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions