diff options
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
| -rw-r--r-- | app/src/main/AndroidManifest.xml | 253 |
1 files changed, 253 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..5c14e28 --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,253 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +Copyright (C) 2012-2022 Adrian Ulrich <adrian@blinkenlights.ch> +Copyright (C) 2012 Christopher Eby <kreed@kreed.org> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +--> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="ch.blinkenlights.android.vanilla" + android:versionName="1.3.2" + android:versionCode="13200" + android:installLocation="auto"> + <uses-permission android:name="android.permission.WAKE_LOCK" /> + <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> + <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" /> + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> + <!-- This is needed for isWiredHeadsetOn() to work in some cases. (bug?) --> + <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> + <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/> + <uses-permission android:name="android.permission.READ_MEDIA_AUDIO"/> + <!-- Playlist shortcuts --> + <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" /> + <!-- Android 13 notifications --> + <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> + <!-- Allow us to query plugins --> + <queries> + <intent> + <action android:name="ch.blinkenlights.android.vanilla.action.REQUEST_PLUGIN_PARAMS" /> + </intent> + </queries> + + <application + android:allowBackup="true" + android:resizeableActivity="true" + android:icon="@mipmap/icon" + android:label="@string/app_name" + android:requestLegacyExternalStorage="true"> + + <meta-data + android:name="com.mirrorlink.android.rockscout.allow-offline-access" + android:value="true" /> + + <provider + android:name="androidx.core.content.FileProvider" + android:authorities="ch.blinkenlights.android.vanilla.fileprovider" + android:exported="false" + android:grantUriPermissions="true"> + <meta-data + android:name="android.support.FILE_PROVIDER_PATHS" + android:resource="@xml/provider_paths"/> + </provider> + + <activity + android:name="FullPlaybackActivity" + android:launchMode="singleTask" /> + <activity + android:name="LibraryActivity" + android:theme="@style/Library" + android:exported="true" + android:launchMode="singleTask"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <action android:name="android.intent.action.MUSIC_PLAYER" /> + <category android:name="android.intent.category.LAUNCHER" /> + <category android:name="android.intent.category.APP_MUSIC" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + + <meta-data + android:name="android.app.shortcuts" + android:resource="@xml/shortcuts"/> + + </activity> + <activity + android:name="PlaylistActivity" + android:launchMode="singleTask" /> + <activity + android:name="MiniPlaybackActivity" + android:theme="@style/PopupDialog" + android:excludeFromRecents="true" + android:launchMode="singleInstance" /> + <receiver + android:name=".OneCellWidget" + android:label="Vanilla Music 1x1" + android:exported="false"> + <intent-filter> + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> + </intent-filter> + <meta-data + android:name="android.appwidget.provider" + android:resource="@xml/one_cell_widget" /> + </receiver> + <receiver + android:name=".FourLongWidget" + android:label="Vanilla Music 4x1 A" + android:exported="false"> + <intent-filter> + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> + </intent-filter> + <meta-data + android:name="android.appwidget.provider" + android:resource="@xml/four_long_widget" /> + </receiver> + <receiver + android:name=".FourWhiteWidget" + android:label="Vanilla Music 4x1 White" + android:exported="false"> + <intent-filter> + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> + </intent-filter> + <meta-data + android:name="android.appwidget.provider" + android:resource="@xml/four_white_widget" /> + </receiver> + <receiver + android:name=".WidgetE" + android:label="Vanilla Music 4x1 B" + android:exported="false"> + <intent-filter> + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> + </intent-filter> + <meta-data + android:name="android.appwidget.provider" + android:resource="@xml/widget_e" /> + </receiver> + <receiver + android:name=".FourSquareWidget" + android:label="Vanilla Music 2x2 A" + android:exported="false"> + <intent-filter> + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> + </intent-filter> + <meta-data + android:name="android.appwidget.provider" + android:resource="@xml/four_square_widget" /> + </receiver> + <receiver + android:name=".WidgetD" + android:label="Vanilla Music 2x2 B" + android:exported="false"> + <intent-filter> + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> + </intent-filter> + <meta-data + android:name="android.appwidget.provider" + android:resource="@xml/widget_d" /> + </receiver> + <receiver android:name="MediaButtonReceiver" + android:exported="true"> + <intent-filter android:priority="999"> + <action android:name="android.intent.action.MEDIA_BUTTON" /> + </intent-filter> + </receiver> + <service android:name="PlaybackService" + android:foregroundServiceType="mediaPlayback" + android:exported="true"> + <intent-filter> + <action android:name="ch.blinkenlights.android.vanilla.action.PLAY" /> + <action android:name="ch.blinkenlights.android.vanilla.action.PAUSE" /> + <action android:name="ch.blinkenlights.android.vanilla.action.TOGGLE_PLAYBACK" /> + <action android:name="ch.blinkenlights.android.vanilla.action.NEXT_SONG" /> + <action android:name="ch.blinkenlights.android.vanilla.action.PREVIOUS_SONG" /> + </intent-filter> + </service> + + <service + android:name=".ScheduledLibraryUpdate" + android:permission="android.permission.BIND_JOB_SERVICE" + android:exported="true" /> + + <activity + android:name="PreferencesActivity" /> + <activity + android:name="TabOrderActivity" /> + <activity + android:name="FilebrowserStartActivity" /> + <activity + android:name="PlaylistObserverDirActivity" /> + <activity + android:name="MediaFoldersSelectionActivity" /> + <activity + android:name="PermissionRequestActivity" + android:theme="@android:style/Theme.Translucent.NoTitleBar" /> + + <activity + android:name="ShortcutPseudoActivity" + android:theme="@android:style/Theme.Translucent.NoTitleBar" + android:exported="false"> + <intent-filter> + <action android:name="android.intent.action.MAIN"/> + </intent-filter> + </activity> + + <activity android:name="AudioPickerActivity" + android:theme="@style/PopupDialog" + android:excludeFromRecents="true" + android:exported="true" > + <intent-filter> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:scheme="file"/> + <data android:mimeType="audio/*"/> + <data android:mimeType="application/ogg"/> + <data android:mimeType="application/x-ogg"/> + <data android:mimeType="application/x-flac"/> + <data android:mimeType="application/itunes"/> + </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/*"/> + <data android:mimeType="application/ogg"/> + <data android:mimeType="application/x-ogg"/> + <data android:mimeType="application/x-flac"/> + <data android:mimeType="application/itunes"/> + </intent-filter> + </activity> + + <activity android:name="AudioSearchActivity" android:theme="@style/PopupDialog" + android:exported="true" + android:excludeFromRecents="true"> + <intent-filter> + <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + </activity> + + + + <meta-data + android:name="com.google.android.backup.api_key" + android:value="AEdPqrEAAAAIEViwBxSHCdBCOOat4Go_5gSxFU7PhRFjLTeRAw" /> + + </application> +</manifest> |
