Tweak manifest

This commit is contained in:
vfsfitvnm 2022-06-09 17:31:28 +02:00
parent e1f39005b6
commit 73a45ae462

View file

@ -1,62 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="it.vfsfitvnm.vimusic">
package="it.vfsfitvnm.vimusic">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application
android:allowBackup="true"
android:configChanges="colorMode|density|fontScale|keyboard|keyboardHidden|layoutDirection|locale|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher_round"
android:label="${appName}"
android:name=".MainApplication"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:requestLegacyExternalStorage="true"
android:theme="@style/Theme.ViMusic.NoActionBar">
android:name=".MainApplication"
android:allowBackup="true"
android:configChanges="colorMode|density|fontScale|keyboard|keyboardHidden|layoutDirection|locale|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher_round"
android:label="${appName}"
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.ViMusic.NoActionBar">
<activity
android:name=".MainActivity"
android:exported="true"
android:theme="@style/Theme.ViMusic.NoActionBar"
android:launchMode="singleTop"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/Theme.ViMusic.NoActionBar"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https"
android:host="music.youtube.com"
android:pathPrefix="/playlist" />
<data android:scheme="https"
android:host="www.youtube.com"
android:pathPrefix="/playlist" />
<data android:scheme="https"
android:host="music.youtube.com"
android:pathPrefix="/watch" />
<data android:scheme="https"
android:host="www.youtube.com"
android:pathPrefix="/watch" />
<data
android:host="music.youtube.com"
android:pathPrefix="/playlist"
android:scheme="https" />
<data
android:host="www.youtube.com"
android:pathPrefix="/playlist"
android:scheme="https" />
<data
android:host="music.youtube.com"
android:pathPrefix="/watch"
android:scheme="https" />
<data
android:host="www.youtube.com"
android:pathPrefix="/watch"
android:scheme="https" />
</intent-filter>
</activity>
<service android:name=".services.PlayerService" android:exported="false">
<service
android:name=".services.PlayerService"
android:exported="false">
<intent-filter>
<action android:name="androidx.media3.session.MediaSessionService"/>
<action android:name="android.media.browse.MediaBrowserService"/>
<action android:name="androidx.media3.session.MediaSessionService" />
<action android:name="android.media.browse.MediaBrowserService" />
</intent-filter>
</service>
</application>