
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.
97 lines
No EOL
3.7 KiB
XML
97 lines
No EOL
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="org.oxycblt.auxio">
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<!-- Work around ExoPlayer requiring unnecessary permissions -->
|
|
<uses-permission
|
|
android:name="android.permission.ACCESS_NETWORK_STATE"
|
|
tools:node="remove" />
|
|
|
|
<queries />
|
|
|
|
<!--
|
|
Note: We have to simultaneously define the fullBackupContent and dataExtractionRules
|
|
fields, as there is no way to make version-specific manifests. This should be okay,
|
|
as devices before Android 12 should just use fullBackupContent and devices beyond it
|
|
should use dataExtractionRules.
|
|
-->
|
|
<application
|
|
android:name=".AuxioApp"
|
|
android:allowBackup="true"
|
|
android:fullBackupContent="@xml/backup_descriptor"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/info_app_name"
|
|
android:roundIcon="@mipmap/ic_launcher"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.Auxio.App"
|
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:launchMode="singleTask"
|
|
android:roundIcon="@mipmap/ic_launcher"
|
|
android:windowSoftInputMode="adjustPan">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<action android:name="android.intent.action.MUSIC_PLAYER" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
<category android:name="android.intent.category.APP_MUSIC" />
|
|
</intent-filter>
|
|
|
|
<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>
|
|
|
|
<service
|
|
android:name=".playback.system.PlaybackService"
|
|
android:foregroundServiceType="mediaPlayback"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:exported="false"
|
|
android:roundIcon="@mipmap/ic_launcher" />
|
|
|
|
<!--
|
|
Work around apps that blindly query for ACTION_MEDIA_BUTTON working.
|
|
See the class for more info.
|
|
-->
|
|
<receiver
|
|
android:name=".playback.system.MediaButtonReceiver"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver
|
|
android:name=".widgets.WidgetProvider"
|
|
android:exported="false"
|
|
android:label="@string/lbl_playback">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/widget_info" />
|
|
</receiver>
|
|
</application>
|
|
</manifest> |