
Refactor the styling again to make all styles start with the Auxio prefix. Also try to phase out the usage of layout_width and layout_height in most places, since those can cause a lot of frustration if they aren't used in the layout they are expected in.
73 lines
No EOL
2.7 KiB
XML
73 lines
No EOL
2.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" />
|
|
|
|
<!-- Workaround for ExoPlayer requiring unnecessary permissions -->
|
|
<uses-permission
|
|
android:name="android.permission.ACCESS_NETWORK_STATE"
|
|
tools:node="remove" />
|
|
|
|
<queries />
|
|
|
|
<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_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.Auxio.App">
|
|
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:launchMode="singleTask"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
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" />
|
|
|
|
<data android:scheme="content" />
|
|
<data android:mimeType="audio/*" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<service
|
|
android:name=".playback.system.PlaybackService"
|
|
android:foregroundServiceType="mediaPlayback"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:roundIcon="@mipmap/ic_launcher_round" />
|
|
|
|
<receiver
|
|
android:name=".widgets.WidgetProvider"
|
|
android:exported="false"
|
|
android:label="@string/info_widget_name">
|
|
|
|
<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> |