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:
parent
5b57d77d02
commit
83dc6cd4c9
2 changed files with 6 additions and 2 deletions
|
@ -3,8 +3,9 @@
|
||||||
## dev [v2.2.1 or v2.3.0]
|
## dev [v2.2.1 or v2.3.0]
|
||||||
#### What's Improved
|
#### What's Improved
|
||||||
- Updated chinese translations [courtesy of cccClyde]
|
- Updated chinese translations [courtesy of cccClyde]
|
||||||
- Use proper M3 top app bars
|
- Use proper material you top app bars
|
||||||
- Use body typography in correct places
|
- Use body typography in correct places
|
||||||
|
- Manifest should expose Auxio's file opening functionality better
|
||||||
|
|
||||||
#### What's Fixed
|
#### What's Fixed
|
||||||
- Fixed issue where playback would start unexpectedly when opening the app
|
- Fixed issue where playback would start unexpectedly when opening the app
|
||||||
|
|
|
@ -51,9 +51,12 @@
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
|
|
||||||
<data android:scheme="content" />
|
<data android:scheme="content" />
|
||||||
|
<data android:scheme="file" />
|
||||||
<data android:mimeType="audio/*" />
|
<data android:mimeType="audio/*" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
@ -66,7 +69,7 @@
|
||||||
android:roundIcon="@mipmap/ic_launcher" />
|
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.
|
See the class for more info.
|
||||||
-->
|
-->
|
||||||
<receiver
|
<receiver
|
||||||
|
|
Loading…
Reference in a new issue