mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
fix bug in isMediaThumbnailSupported
This commit is contained in:
parent
60ee20c9ef
commit
341fbf836c
@ -246,7 +246,7 @@ public class ImageUtils {
|
|||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
String mimeType = getFileTypeDetector().detect(file);
|
String mimeType = getFileTypeDetector().detect(file);
|
||||||
if (StringUtils.isNotBlank(mimeTypePrefix) && mimeTypePrefix.startsWith(mimeTypePrefix)) {
|
if (StringUtils.isNotBlank(mimeTypePrefix) && mimeType.startsWith(mimeTypePrefix)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return supportedMimeTypes.contains(mimeType);
|
return supportedMimeTypes.contains(mimeType);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user