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

Commit 3de9ddb7 authored by jruesga's avatar jruesga
Browse files

Fix detection of compression files without extension

parent 35db4689
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -737,12 +737,14 @@ public final class FileHelper {
            return false;
        }
        String ext = getExtension(fso);
        if (ext != null) {
            int cc = VALID.length;
            for (int i = 0; i < cc; i++) {
                if (VALID[i].compareTo(ext) == 0) {
                    return true;
                }
            }
        }
        return false;
    }