mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-24 16:21:16 +02:00
Double the filter sections for opening pebble apps/firmwares and miband firmwares
There are some inconsistencies across ROMs: some need the mimetype filter to be present in order to match the file extension, other refuse to do so if the filter is present. Current strategy is to satisfy both requirements by duplicating the filter element.
This commit is contained in:
parent
e4ddbf4aaa
commit
0a6dc8f7a0
@ -69,7 +69,7 @@
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" /> <!-- needed for android 5 -->
|
||||
<data android:mimeType="*/*" /> <!-- needed for aosp-derived ROMs? -->
|
||||
|
||||
<data android:host="*" />
|
||||
<data android:scheme="file" />
|
||||
@ -87,16 +87,51 @@
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.fw" />
|
||||
|
||||
<data android:pathPattern=".*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.pbw" />
|
||||
|
||||
<data android:pathPattern=".*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.pbz" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.pbz" />
|
||||
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<!-- no mimeType filter, needed for CM-derived ROMs? -->
|
||||
|
||||
<data android:host="*" />
|
||||
<data android:scheme="file" />
|
||||
|
||||
<!-- as seen on openkeychain repo: https://github.com/open-keychain/open-keychain/blob/master/OpenKeychain/src/main/AndroidManifest.xml -->
|
||||
|
||||
<data android:pathPattern=".*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.fw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.fw" />
|
||||
|
||||
<data android:pathPattern=".*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\.pbw" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\.pbw" />
|
||||
|
Loading…
Reference in New Issue
Block a user