LibreTube/app/src/main/AndroidManifest.xml

391 lines
16 KiB
XML
Raw Normal View History

2021-12-09 18:01:40 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-06-20 17:27:59 +05:30
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2022-08-01 00:39:47 +05:30
xmlns:tools="http://schemas.android.com/tools"
2022-06-20 17:27:59 +05:30
android:installLocation="auto">
2022-10-29 02:50:07 +05:30
2022-10-29 21:23:19 +05:30
<uses-feature
android:name="android.software.leanback"
android:required="false" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
2021-12-16 03:54:40 +05:30
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
2022-02-27 23:21:17 +05:30
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2022-06-07 12:22:11 +05:30
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
2022-06-07 12:22:11 +05:30
2021-12-09 18:01:40 +05:30
<application
2022-09-17 15:57:24 +05:30
android:name=".LibreTubeApp"
2021-12-09 18:01:40 +05:30
android:allowBackup="true"
2022-12-23 19:27:10 +05:30
android:banner="@mipmap/ic_launcher"
2023-01-14 21:38:16 +05:30
android:hardwareAccelerated="true"
2022-05-22 22:22:37 +05:30
android:icon="@mipmap/ic_launcher"
2021-12-09 18:01:40 +05:30
android:label="@string/app_name"
2022-06-27 22:47:52 +05:30
android:largeHeap="true"
android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true"
2022-05-22 22:22:37 +05:30
android:roundIcon="@mipmap/ic_launcher_round"
2021-12-09 18:01:40 +05:30
android:supportsRtl="true"
2022-08-25 14:56:10 +05:30
android:theme="@style/StartupTheme"
2022-12-23 19:27:10 +05:30
tools:targetApi="n">
2022-08-01 00:39:47 +05:30
<activity
android:name=".ui.activities.WelcomeActivity"
android:label="@string/welcome" />
2022-07-01 20:14:14 +05:30
<activity
2022-09-20 23:23:34 +05:30
android:name=".ui.activities.NoInternetActivity"
2022-07-02 01:02:26 +05:30
android:label="@string/noInternet" />
2022-08-01 00:39:47 +05:30
2022-05-11 01:35:15 +05:30
<activity
2022-09-20 23:23:34 +05:30
android:name=".ui.activities.SettingsActivity"
2022-05-24 00:04:18 +05:30
android:label="@string/settings" />
2022-08-01 00:39:47 +05:30
<activity
2022-09-20 23:23:34 +05:30
android:name=".ui.activities.AboutActivity"
2022-08-01 00:39:47 +05:30
android:label="@string/settings" />
<activity
android:name=".ui.activities.HelpActivity"
2022-08-01 00:39:47 +05:30
android:label="@string/settings" />
<activity
android:name=".ui.activities.ZoomableImageActivity" />
<activity
android:name=".ui.activities.AddToQueueActivity"
android:enabled="true"
android:exported="true"
android:label="@string/add_to_queue"
android:launchMode="singleTop">
<intent-filter android:label="@string/add_to_queue">
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
2022-09-09 19:10:10 +05:30
<activity
2022-09-20 23:23:34 +05:30
android:name=".ui.activities.OfflinePlayerActivity"
2022-10-07 22:39:44 +05:30
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-10-19 23:23:18 +05:30
android:label="@string/player"
android:supportsPictureInPicture="true" />
2022-09-09 19:10:10 +05:30
2021-12-09 18:01:40 +05:30
<activity
2022-09-20 23:23:34 +05:30
android:name=".ui.activities.MainActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-06-27 22:47:52 +05:30
android:exported="true"
android:launchMode="singleTask"
2022-07-14 15:45:58 +05:30
android:screenOrientation="user"
2022-09-12 18:25:34 +05:30
android:supportsPictureInPicture="true"
android:windowSoftInputMode="adjustPan">
<!-- allow being recognized as a music player -->
<intent-filter>
<action android:name="android.intent.action.MUSIC_PLAYER" />
<category android:name="android.intent.category.CATEGORY_APP_MUSIC" />
</intent-filter>
2021-12-09 18:01:40 +05:30
</activity>
2022-05-22 23:54:12 +05:30
<activity-alias
android:name=".Default"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:enabled="true"
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsPictureInPicture="true"
android:targetActivity=".ui.activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity-alias>
2022-05-22 23:54:12 +05:30
<activity-alias
2022-05-23 20:26:54 +05:30
android:name=".IconGradient"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-06-27 22:47:52 +05:30
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_gradient"
android:roundIcon="@mipmap/ic_gradient_round"
android:supportsPictureInPicture="true"
2022-09-20 23:23:34 +05:30
android:targetActivity=".ui.activities.MainActivity"
2022-09-12 18:25:34 +05:30
android:windowSoftInputMode="adjustPan">
2022-05-23 20:26:54 +05:30
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2022-09-25 13:43:19 +05:30
2022-05-23 20:26:54 +05:30
<category android:name="android.intent.category.LAUNCHER" />
2022-09-25 13:43:19 +05:30
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
2022-05-23 20:26:54 +05:30
</intent-filter>
2022-11-21 19:31:03 +05:30
2022-05-23 20:26:54 +05:30
</activity-alias>
2022-10-29 21:23:19 +05:30
<activity-alias
android:name=".DefaultLight"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_light"
android:roundIcon="@mipmap/ic_launcher_light_round"
android:supportsPictureInPicture="true"
android:targetActivity=".ui.activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
2022-11-21 19:31:03 +05:30
2022-10-29 21:23:19 +05:30
</activity-alias>
2022-05-23 20:26:54 +05:30
<activity-alias
android:name=".IconFire"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-06-27 22:47:52 +05:30
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_fire"
android:roundIcon="@mipmap/ic_fire_round"
android:supportsPictureInPicture="true"
2022-09-20 23:23:34 +05:30
android:targetActivity=".ui.activities.MainActivity"
2022-09-12 18:25:34 +05:30
android:windowSoftInputMode="adjustPan">
2022-05-23 20:26:54 +05:30
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2022-09-25 13:43:19 +05:30
2022-05-23 20:26:54 +05:30
<category android:name="android.intent.category.LAUNCHER" />
2022-09-25 13:43:19 +05:30
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
2022-05-23 20:26:54 +05:30
</intent-filter>
2022-11-21 19:31:03 +05:30
2022-05-23 20:26:54 +05:30
</activity-alias>
<activity-alias
android:name=".IconFlame"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-06-27 22:47:52 +05:30
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_flame"
android:roundIcon="@mipmap/ic_flame_round"
android:supportsPictureInPicture="true"
2022-09-20 23:23:34 +05:30
android:targetActivity=".ui.activities.MainActivity"
2022-09-12 18:25:34 +05:30
android:windowSoftInputMode="adjustPan">
2022-05-23 20:26:54 +05:30
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2022-09-25 13:43:19 +05:30
2022-05-23 20:26:54 +05:30
<category android:name="android.intent.category.LAUNCHER" />
2022-09-25 13:43:19 +05:30
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
2022-05-23 20:26:54 +05:30
</intent-filter>
2022-11-21 19:31:03 +05:30
2022-05-23 20:26:54 +05:30
</activity-alias>
<activity-alias
android:name=".IconShaped"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-06-27 22:47:52 +05:30
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_shaped"
android:roundIcon="@mipmap/ic_shaped_round"
android:supportsPictureInPicture="true"
2022-09-20 23:23:34 +05:30
android:targetActivity=".ui.activities.MainActivity"
2022-09-12 18:25:34 +05:30
android:windowSoftInputMode="adjustPan">
2022-05-23 20:26:54 +05:30
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
2022-11-21 19:31:03 +05:30
2022-05-23 20:26:54 +05:30
</activity-alias>
<activity-alias
android:name=".IconTorch"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-06-27 22:47:52 +05:30
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_torch"
android:roundIcon="@mipmap/ic_torch_round"
android:supportsPictureInPicture="true"
2022-09-20 23:23:34 +05:30
android:targetActivity=".ui.activities.MainActivity"
2022-09-12 18:25:34 +05:30
android:windowSoftInputMode="adjustPan">
2022-05-23 20:26:54 +05:30
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2022-09-25 13:43:19 +05:30
2022-05-23 20:26:54 +05:30
<category android:name="android.intent.category.LAUNCHER" />
2022-09-25 13:43:19 +05:30
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
2022-05-23 20:26:54 +05:30
</intent-filter>
2022-11-21 19:31:03 +05:30
2022-05-23 20:26:54 +05:30
</activity-alias>
<activity-alias
android:name=".IconLegacy"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-06-27 22:47:52 +05:30
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_legacy"
android:roundIcon="@mipmap/ic_legacy_round"
android:supportsPictureInPicture="true"
2022-09-20 23:23:34 +05:30
android:targetActivity=".ui.activities.MainActivity"
2022-09-12 18:25:34 +05:30
android:windowSoftInputMode="adjustPan">
2022-05-22 23:54:12 +05:30
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2022-09-25 13:43:19 +05:30
2022-05-22 23:54:12 +05:30
<category android:name="android.intent.category.LAUNCHER" />
2022-09-25 13:43:19 +05:30
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
2022-05-22 23:54:12 +05:30
</intent-filter>
2022-11-21 19:31:03 +05:30
2022-05-22 23:54:12 +05:30
</activity-alias>
2022-05-23 22:52:43 +05:30
<activity-alias
android:name=".IconBird"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2022-06-27 22:47:52 +05:30
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_bird"
android:roundIcon="@mipmap/ic_bird_round"
android:supportsPictureInPicture="true"
2022-09-20 23:23:34 +05:30
android:targetActivity=".ui.activities.MainActivity"
2022-09-12 18:25:34 +05:30
android:windowSoftInputMode="adjustPan">
2022-05-23 22:52:43 +05:30
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2022-09-25 13:43:19 +05:30
2022-05-23 22:52:43 +05:30
<category android:name="android.intent.category.LAUNCHER" />
2022-09-25 13:43:19 +05:30
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
2022-05-23 22:52:43 +05:30
</intent-filter>
2022-11-21 19:31:03 +05:30
2022-05-23 22:52:43 +05:30
</activity-alias>
2022-05-29 16:31:04 +05:30
<activity
2022-09-20 23:23:34 +05:30
android:name=".ui.activities.RouterActivity"
2022-05-29 16:31:04 +05:30
android:exported="true"
2022-06-07 12:22:11 +05:30
android:launchMode="singleInstance">
<intent-filter android:label="@string/open">
2022-05-29 16:31:04 +05:30
<action android:name="android.intent.action.SEND" />
2022-06-07 12:22:11 +05:30
<category android:name="android.intent.category.DEFAULT" />
2022-05-29 19:27:01 +05:30
<data android:mimeType="text/plain" />
2022-05-29 16:31:04 +05:30
</intent-filter>
<!-- YouTube -->
2022-05-29 16:31:04 +05:30
<intent-filter>
<action android:name="android.intent.action.VIEW" />
2022-06-07 12:22:11 +05:30
2022-05-29 16:31:04 +05:30
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
2022-06-07 12:22:11 +05:30
2022-05-29 16:31:04 +05:30
<data android:scheme="http" />
<data android:scheme="https" />
<data android:host="youtube.com" />
<data android:host="m.youtube.com" />
<data android:host="www.youtube.com" />
<data android:host="music.youtube.com" />
<!-- video prefix -->
<data android:pathPrefix="/v/" />
<data android:pathPrefix="/embed/" />
<data android:pathPrefix="/watch" />
<data android:pathPrefix="/shorts/" />
<data android:pathPrefix="/live/" />
2022-05-29 16:31:04 +05:30
<!-- channel prefix -->
<data android:pathPrefix="/channel/" />
<data android:pathPrefix="/user/" />
<data android:pathPrefix="/c/" />
<!-- playlist prefix -->
<data android:pathPrefix="/playlist" />
2023-07-31 18:26:35 +05:30
<!-- search prefix -->
<data android:pathPrefix="/results" />
2022-05-29 16:31:04 +05:30
</intent-filter>
<!-- Support being detected as media player -->
2022-05-29 16:31:04 +05:30
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:host="youtu.be" />
<data android:pathPrefix="/" />
</intent-filter>
<!-- Piped filter -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
2022-06-07 12:22:11 +05:30
2022-05-29 16:31:04 +05:30
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
2022-06-07 12:22:11 +05:30
2022-05-29 16:31:04 +05:30
<data android:scheme="http" />
<data android:scheme="https" />
<data android:pathPrefix="/" />
2023-07-17 13:35:53 +05:30
<data android:host="pd.vern.cc" />
<data android:host="piped.adminforge.de" />
2023-07-17 13:35:53 +05:30
<data android:host="piped.frontendfriendly.xyz" />
<data android:host="piped.hostux.net" />
2023-07-17 13:35:53 +05:30
<data android:host="piped.in.projectsegfau.lt" />
<data android:host="piped.lunar.icu" />
<data android:host="piped.mha.fi" />
<data android:host="piped.osphost.fi" />
<data android:host="piped.palveluntarjoaja.eu" />
2023-07-17 13:35:53 +05:30
<data android:host="piped.privacydev.net" />
<data android:host="piped.projectsegfau.lt" />
<data android:host="piped.qdi.fi" />
<data android:host="piped.simpleprivacy.fr" />
<data android:host="piped.smnz.de" />
2023-07-17 13:35:53 +05:30
<data android:host="piped.tokhmi.xyz" />
<data android:host="piped.video" />
<data android:host="piped.yt" />
<data android:host="watch.leptons.xyz" />
<data android:host="watch.whatever.social" />
2022-05-29 16:31:04 +05:30
</intent-filter>
</activity>
2022-03-03 12:08:36 +05:30
<service
2022-06-28 20:02:26 +05:30
android:name=".services.DownloadService"
android:foregroundServiceType="dataSync"
2022-03-03 12:08:36 +05:30
android:enabled="true"
android:exported="false" />
2022-06-28 20:02:26 +05:30
<service
android:name=".services.PlaylistDownloadEnqueueService"
android:foregroundServiceType="dataSync"
android:enabled="true"
android:exported="false" />
2022-07-27 15:27:04 +05:30
<service
2023-04-10 19:24:09 +05:30
android:name=".services.OnlinePlayerService"
android:foregroundServiceType="mediaPlayback"
2023-04-10 19:24:09 +05:30
android:enabled="true"
android:exported="false" />
<service
android:name=".services.OfflinePlayerService"
android:foregroundServiceType="mediaPlayback"
2022-07-21 16:40:27 +05:30
android:enabled="true"
android:exported="false" />
<receiver
android:name=".receivers.NotificationReceiver"
android:enabled="true"
android:exported="false" />
2021-12-09 18:01:40 +05:30
</application>
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="*" />
</intent>
</queries>
</manifest>