mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Merge pull request #4022 from kiwix/Fixes#4002
Fixed: Not able to open a ZIM file from Samsung's file explorer.
This commit is contained in:
commit
ab3d8ffd75
@ -49,6 +49,18 @@
|
|||||||
<data android:mimeType="application/octet-stream" />
|
<data android:mimeType="application/octet-stream" />
|
||||||
|
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<!-- Intent filter for Samsung's "My Files" file manager.
|
||||||
|
This is necessary because it returns an empty mimeType for ZIM files,
|
||||||
|
preventing our application from appearing in the suggestion list. -->
|
||||||
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
|
<!-- This will match any URI that starts with "content://0@media/external/file/" -->
|
||||||
|
<data android:scheme="content" />
|
||||||
|
<data android:host="media" />
|
||||||
|
<data android:pathPrefix="/external/file/" />
|
||||||
|
<data android:mimeType="*/*" />
|
||||||
|
</intent-filter>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user