LibreTube/app/src/main/AndroidManifest.xml

331 lines
14 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">
<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.POST_NOTIFICATIONS" />
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-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-08-01 00:39:47 +05:30
tools:targetApi="n">
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
2022-09-20 23:23:34 +05:30
android:name=".ui.activities.CommunityActivity"
2022-08-01 00:39:47 +05:30
android:label="@string/settings" />
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"
2022-02-05 21:10:29 +05:30
android:hardwareAccelerated="true"
2022-06-27 22:47:52 +05:30
android:launchMode="singleTop"
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">
2021-12-09 18:01:40 +05:30
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2022-09-25 13:43:19 +05:30
2021-12-09 18:01:40 +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" />
2021-12-09 18:01:40 +05:30
</intent-filter>
</activity>
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"
2022-05-23 20:26:54 +05:30
android:hardwareAccelerated="true"
2022-06-27 22:47:52 +05:30
android:icon="@mipmap/ic_gradient"
android:label="@string/app_name"
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>
</activity-alias>
<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"
2022-05-23 20:26:54 +05:30
android:hardwareAccelerated="true"
2022-06-27 22:47:52 +05:30
android:icon="@mipmap/ic_fire"
android:label="@string/app_name"
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>
</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"
2022-05-23 20:26:54 +05:30
android:hardwareAccelerated="true"
2022-06-27 22:47:52 +05:30
android:icon="@mipmap/ic_flame"
android:label="@string/app_name"
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>
</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"
2022-05-23 20:26:54 +05:30
android:hardwareAccelerated="true"
2022-06-27 22:47:52 +05:30
android:icon="@mipmap/ic_shaped"
android:label="@string/app_name"
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>
</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"
2022-05-23 20:26:54 +05:30
android:hardwareAccelerated="true"
2022-06-27 22:47:52 +05:30
android:icon="@mipmap/ic_torch"
android:label="@string/app_name"
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>
</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"
2022-05-23 20:26:54 +05:30
android:hardwareAccelerated="true"
2022-06-27 22:47:52 +05:30
android:icon="@mipmap/ic_legacy"
android:label="@string/app_name"
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>
</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"
2022-05-23 22:52:43 +05:30
android:hardwareAccelerated="true"
2022-06-27 22:47:52 +05:30
android:icon="@mipmap/ic_bird"
android:label="@string/app_name"
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>
</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">
2022-05-29 16:31:04 +05:30
<intent-filter>
<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 -->
<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="/attribution_link" />-->
<data android:pathPrefix="/shorts/" />
<!-- channel prefix -->
<data android:pathPrefix="/channel/" />
<data android:pathPrefix="/user/" />
<data android:pathPrefix="/c/" />
<!-- playlist prefix -->
<data android:pathPrefix="/playlist" />
</intent-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" />
<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>
<!-- Invidious 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" />
<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="tubus.eduvid.org" />
<data android:host="invidio.us" />
<data android:host="dev.invidio.us" />
<data android:host="www.invidio.us" />
<data android:host="redirect.invidious.io" />
<data android:host="invidious.snopyta.org" />
<data android:host="yewtu.be" />
<data android:host="tube.connect.cafe" />
<data android:host="invidious.kavin.rocks" />
<data android:host="invidious-us.kavin.rocks" />
<data android:host="invidious.site" />
<data android:host="vid.mint.lgbt" />
<data android:host="invidiou.site" />
<data android:host="invidious.fdn.fr" />
<data android:host="invidious.048596.xyz" />
<data android:host="invidious.zee.li" />
<data android:host="vid.puffyan.us" />
<data android:host="ytprivate.com" />
<data android:host="invidious.namazso.eu" />
<data android:host="invidious.silkky.cloud" />
<data android:host="invidious.exonip.de" />
<data android:host="inv.riverside.rocks" />
<data android:host="invidious.blamefran.net" />
<data android:host="invidious.moomoo.me" />
<data android:host="ytb.trom.tf" />
<data android:host="yt.cyberhost.uk" />
<data android:host="y.com.cm" />
<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:host="piped.tokhmi.xyz" />
<data android:host="piped.kavin.rocks" />
<data android:host="piped.silkky.cloud" />
<data android:host="piped.silkky.cloud" />
<data android:host="piped.mint.lgbt" />
<data android:host="il.ax" />
<data android:pathPrefix="/" />
</intent-filter>
</activity>
2022-03-03 12:08:36 +05:30
<service
2022-06-28 20:02:26 +05:30
android:name=".services.DownloadService"
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.ClosingService"
android:enabled="true"
2022-07-18 22:45:35 +05:30
android:exported="false" />
<service
android:name=".services.UpdateService"
android:enabled="true"
android:exported="false" />
2022-07-21 16:40:27 +05:30
2022-07-27 15:27:04 +05:30
<service
android:name=".services.BackgroundMode"
2022-07-21 16:40:27 +05:30
android:enabled="true"
android:exported="false" />
2021-12-09 18:01:40 +05:30
</application>
</manifest>