@Override
    public void updateDiskCacheKey(MessageDigest messageDigest) throws UnsupportedEncodingException {
        byte[] data = ByteBuffer.allocate(12)
                .putLong(dateModified)
                .putInt(orientation)
                .array();
        messageDigest.update(data);
        messageDigest.update(mimeType.getBytes(STRING_CHARSET_NAME));
    }
Constructor for {@link MediaStoreSignature}.

@param mimeType The mime type of the media store media. Ok to default to empty string "". See
     {@link android.provider.MediaStore.Images.ImageColumns#MIME_TYPE} or
     {@link android.provider.MediaStore.Video.VideoColumns#MIME_TYPE}.
@param dateModified The date modified time of the media store media. Ok to default to 0. See
     {@link android.provider.MediaStore.Images.ImageColumns#DATE_MODIFIED} or
     {@link android.provider.MediaStore.Video.VideoColumns#DATE_MODIFIED}.
@param orientation The orientation of the media store media. Ok to default to 0. See
     {@link android.provider.MediaStore.Images.ImageColumns#ORIENTATION}.
core/src/main/java/com/bumptech/glide/signature/MediaStoreSignature.java