4fcdde4913
Requires adjusting some file reading to first copy to a temporary file in cache that we have permissions to read from. This is only applicable for things like ZIP files where we need an actual File rather than just some Android content URI shenanigans.
190 lines
7.3 KiB
XML
190 lines
7.3 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">
|
|
|
|
<!-- Internet -->
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
|
<!-- For background jobs -->
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
|
|
|
<!-- For managing extensions -->
|
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
|
|
<uses-permission android:name="android.permission.UPDATE_PACKAGES_WITHOUT_USER_ACTION" />
|
|
<!-- To view extension packages in API 30+ -->
|
|
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
|
|
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
<uses-permission android:name="android.permission.READ_APP_SPECIFIC_LOCALES" />
|
|
|
|
<!-- Remove permission from Firebase dependency -->
|
|
<uses-permission android:name="com.google.android.gms.permission.AD_ID"
|
|
tools:node="remove" />
|
|
|
|
<application
|
|
android:name=".App"
|
|
android:allowBackup="false"
|
|
android:enableOnBackInvokedCallback="true"
|
|
android:hardwareAccelerated="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:largeHeap="true"
|
|
android:localeConfig="@xml/locales_config"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.Tachiyomi">
|
|
|
|
<activity
|
|
android:name=".ui.main.MainActivity"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/Theme.Tachiyomi.SplashScreen"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<!--suppress AndroidDomInspection -->
|
|
<meta-data
|
|
android:name="android.app.shortcuts"
|
|
android:resource="@xml/shortcuts" />
|
|
</activity>
|
|
|
|
<activity
|
|
android:process=":error_handler"
|
|
android:name=".crash.CrashActivity"
|
|
android:exported="false" />
|
|
|
|
<activity
|
|
android:name=".ui.deeplink.DeepLinkActivity"
|
|
android:launchMode="singleTask"
|
|
android:theme="@android:style/Theme.NoDisplay"
|
|
android:label="@string/action_search"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEARCH" />
|
|
<action android:name="com.google.android.gms.actions.SEARCH_ACTION" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="eu.kanade.tachiyomi.SEARCH" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="text/plain" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.app.searchable"
|
|
android:resource="@xml/searchable" />
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".ui.reader.ReaderActivity"
|
|
android:launchMode="singleTask"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="com.samsung.android.support.REMOTE_ACTION" />
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="com.samsung.android.support.REMOTE_ACTION"
|
|
android:resource="@xml/s_pen_actions"/>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".ui.security.UnlockActivity"
|
|
android:theme="@style/Theme.Tachiyomi"
|
|
android:exported="false" />
|
|
|
|
<activity
|
|
android:name=".ui.webview.WebViewActivity"
|
|
android:configChanges="uiMode|orientation|screenSize"
|
|
android:exported="false" />
|
|
|
|
<activity
|
|
android:name=".extension.util.ExtensionInstallActivity"
|
|
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
android:exported="false" />
|
|
|
|
<activity
|
|
android:name=".ui.setting.track.TrackLoginActivity"
|
|
android:label="@string/track_activity_name"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:host="anilist-auth"/>
|
|
<data android:host="bangumi-auth"/>
|
|
<data android:host="myanimelist-auth"/>
|
|
<data android:host="shikimori-auth"/>
|
|
|
|
<data android:scheme="tachiyomi"/>
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<receiver
|
|
android:name=".data.notification.NotificationReceiver"
|
|
android:exported="false" />
|
|
|
|
<service
|
|
android:name=".data.download.DownloadService"
|
|
android:exported="false" />
|
|
|
|
<service
|
|
android:name=".extension.util.ExtensionInstallService"
|
|
android:exported="false" />
|
|
|
|
<service
|
|
android:name="androidx.appcompat.app.AppLocalesMetadataHolderService"
|
|
android:enabled="false"
|
|
android:exported="false">
|
|
<meta-data
|
|
android:name="autoStoreLocales"
|
|
android:value="true" />
|
|
</service>
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}.provider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/provider_paths" />
|
|
</provider>
|
|
|
|
<provider
|
|
android:name="rikka.shizuku.ShizukuProvider"
|
|
android:authorities="${applicationId}.shizuku"
|
|
android:multiprocess="false"
|
|
android:enabled="true"
|
|
android:exported="true"
|
|
android:permission="android.permission.INTERACT_ACROSS_USERS_FULL" />
|
|
|
|
<meta-data
|
|
android:name="android.webkit.WebView.EnableSafeBrowsing"
|
|
android:value="false" />
|
|
<meta-data
|
|
android:name="android.webkit.WebView.MetricsOptOut"
|
|
android:value="true" />
|
|
|
|
<!-- Disable advertising ID collection for Firebase -->
|
|
<meta-data
|
|
android:name="google_analytics_adid_collection_enabled"
|
|
android:value="false" />
|
|
|
|
</application>
|
|
|
|
</manifest>
|