Fix config import from ACTION_VIEW (Android 16)

Handle content:// and file:// VIEW intents and add fallback octet-stream intent-filter
This commit is contained in:
世界
2026-02-04 17:53:17 +08:00
parent 46d2b6576c
commit 84dfd82ab8
2 changed files with 102 additions and 3 deletions

View File

@@ -91,6 +91,19 @@
<data android:pathPattern="/.*\\.bpf" />
</intent-filter>
<intent-filter android:priority="998">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.OPENABLE" />
<data android:scheme="file" />
<data android:scheme="content" />
<data android:mimeType="application/octet-stream" />
</intent-filter>
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
</intent-filter>