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

Commit 3509b727 authored by Yujie Qin's avatar Yujie Qin Committed by Android (Google) Code Review
Browse files

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

parents 3df6390d 990ea136
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -73,6 +73,9 @@ jstring encodedFormatToString(JNIEnv* env, SkEncodedFormat format) {
        case SkEncodedFormat::kWBMP_SkEncodedFormat:
        case SkEncodedFormat::kWBMP_SkEncodedFormat:
            mimeType = "image/vnd.wap.wbmp";
            mimeType = "image/vnd.wap.wbmp";
            break;
            break;
        case SkEncodedFormat::kRAW_SkEncodedFormat:
            mimeType = "image/x-adobe-dng";
            break;
        default:
        default:
            mimeType = nullptr;
            mimeType = nullptr;
            break;
            break;