mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-12-01 12:31:45 +00:00
Fixed nullpointer exception in SyndTypeUtils
This commit is contained in:
@ -28,7 +28,7 @@ public class SyndTypeUtils {
|
||||
if (extension != null) {
|
||||
String type = MimeTypeMap.getSingleton().getMimeTypeFromExtension(
|
||||
extension);
|
||||
if (typeValid(type)) {
|
||||
if (type != null && typeValid(type)) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user