Merge "Return DNG mimeType for the case kRAW_SkEncodedFormat" into nyc-dev

This commit is contained in:
Yujie Qin
2016-03-17 13:30:44 +00:00
committed by Android (Google) Code Review

View File

@@ -73,6 +73,9 @@ jstring encodedFormatToString(JNIEnv* env, SkEncodedFormat format) {
case SkEncodedFormat::kWBMP_SkEncodedFormat:
mimeType = "image/vnd.wap.wbmp";
break;
case SkEncodedFormat::kRAW_SkEncodedFormat:
mimeType = "image/x-adobe-dng";
break;
default:
mimeType = nullptr;
break;