* Update audio/video detection regex by adding support for OGG and OGV file extensions

* Make the audio/video detection pattern case insensitive
This commit is contained in:
Emmanuel Engelhart 2015-05-17 13:44:27 +02:00
parent 4cf1aa51a5
commit 58618804b7

View File

@ -185,7 +185,7 @@ public class ZimContentProvider extends ContentProvider {
public boolean onCreate() {
jniKiwix = new JNIKiwix();
setIcuDataDirectory();
pattern = Pattern.compile(VIDEO_PATTERN);
pattern = Pattern.compile(VIDEO_PATTERN, Pattern.CASE_INSENSITIVE);
return true;
}