mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-26 06:21:12 -04:00
* 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:
parent
4cf1aa51a5
commit
58618804b7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user