mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-27 06:55:15 -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() {
|
public boolean onCreate() {
|
||||||
jniKiwix = new JNIKiwix();
|
jniKiwix = new JNIKiwix();
|
||||||
setIcuDataDirectory();
|
setIcuDataDirectory();
|
||||||
pattern = Pattern.compile(VIDEO_PATTERN);
|
pattern = Pattern.compile(VIDEO_PATTERN, Pattern.CASE_INSENSITIVE);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user