app: expose file opening intents better [#78]

Copy-paste some extra fields onto the file opening intent filter as to
[hopefully] get Auxio to be recognized by OEM skins better.

Some OEM skins don't seem to do a basic query for an app that matches
the APP_MUSIC category. Instead, they do some insane query for apps
that match this specific file intent structure that Auxio does not fit
for whatever reason. Try to graft some manifest features from the MPV
android app to make Auxio correctly expose this. I have no idea if this
will actually do anything.
This commit is contained in:
OxygenCobalt
2022-02-15 19:27:44 -07:00
parent 5b57d77d02
commit 83dc6cd4c9
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -51,9 +51,12 @@
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="content" />
<data android:scheme="file" />
<data android:mimeType="audio/*" />
</intent-filter>
</activity>
@@ -66,7 +69,7 @@
android:roundIcon="@mipmap/ic_launcher" />
<!--
Workaround to get apps that blindly query for ACTION_MEDIA_BUTTON working.
Work around apps that blindly query for ACTION_MEDIA_BUTTON working.
See the class for more info.
-->
<receiver