Target SDK 31 (#9022)
This commit is contained in:
parent
01f877ac0f
commit
2a3d88cea0
|
@ -1,5 +1,5 @@
|
|||
object AndroidConfig {
|
||||
const val compileSdk = 30
|
||||
const val compileSdk = 31
|
||||
const val minSdk = 21
|
||||
const val targetSdk = 29
|
||||
const val targetSdk = 31
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name="eu.kanade.tachiyomi.multisrc.guya.GuyaUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name="eu.kanade.tachiyomi.multisrc.madara.MadaraUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<application>
|
||||
<activity android:name="eu.kanade.tachiyomi.multisrc.mangadventure.MangAdventureActivity"
|
||||
android:theme="@android:style/Theme.NoDisplay"
|
||||
android:exported="true"
|
||||
android:excludeFromRecents="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name="eu.kanade.tachiyomi.multisrc.nyahentai.NyaHentaiUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name="eu.kanade.tachiyomi.multisrc.webtoons.WebtoonsUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.naniscans.WeebreaderUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name="eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReaderUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name="eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStreamUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -97,7 +97,7 @@ abstract class WPMangaStream(
|
|||
*/
|
||||
protected open fun mangaPathFromUrl(s: String): Single<String?> {
|
||||
val baseMangaUrl = baseUrl.toHttpUrlOrNull()!!
|
||||
// Would be dope if wpmangastream had a mangaUrlDirectory like wpmangareader
|
||||
// Would be dope if wpmangastream had a mangaUrlDirectory like wpmangareader
|
||||
val mangaDirectories = listOf("manga", "comics", "komik")
|
||||
return s.toHttpUrlOrNull()?.let { url ->
|
||||
fun pathLengthIs(url: HttpUrl, n: Int, strict: Boolean = false) = url.pathSegments.size == n && url.pathSegments[n - 1].isNotEmpty() || (!strict && url.pathSegments.size == n + 1 && url.pathSegments[n].isEmpty())
|
||||
|
@ -140,7 +140,6 @@ abstract class WPMangaStream(
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
||||
var url = "$baseUrl/manga/".toHttpUrlOrNull()!!.newBuilder()
|
||||
url.addQueryParameter("title", query)
|
||||
|
|
|
@ -6,6 +6,7 @@ package="eu.kanade.tachiyomi.extension">
|
|||
<activity
|
||||
android:name=".all.batoto.BatoToUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.comickfun.ComickFunUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.cubari.CubariUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<!-- We need another intent filter so the /a/..* shortcut -->
|
||||
<!-- doesn't pollute the cubari one, since they work in any combination -->
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.ehentai.EHUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.genkanio.GenkanIOUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.hitomi.HitomiActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.imhentai.IMHentaiUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.mangadex.MangadexUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@ package="eu.kanade.tachiyomi.extension">
|
|||
<activity
|
||||
android:name=".all.mangapark.MangaParkUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.mangaplus.MangaPlusUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.nhentai.NHUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".all.ninehentai.NineHentaiUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.bilibilicomics.BilibiliComicsUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<activity
|
||||
android:name=".en.catmanga.CatMangaUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.comikey.ComikeyURLActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<activity
|
||||
android:name=".en.dynasty.DynastyUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.hentai2read.Hentai2ReadActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.homeheroscans.HomeHeroScansUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.mangamiso.MangaMisoUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<activity
|
||||
android:name=".en.mangamutiny.MangaMutinyUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.myhentaigallery.MyHentaiGalleryUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.purplecress.PurpleCressURLActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.randomscans.RandomScansURLActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".en.tsumino.TsuminoUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".es.lectormanga.LectorMangaUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".es.tmohentai.TMOHentaiUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".es.tumangaonline.TuMangaOnlineUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".ru.desu.DesuActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".ru.libmanga.LibMangaActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".ru.mintmanga.MintmangaActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".ru.readmanga.ReadmangaActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@ package="eu.kanade.tachiyomi.extension">
|
|||
<activity
|
||||
android:name=".ru.remanga.RemangaActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<activity
|
||||
android:name=".zh.baozimanhua.BaozimanhuaUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".zh.dmzj.DmzjUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".zh.jinmantiantang.JinmantiantangUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<activity
|
||||
android:name=".zh.kuaikanmanhua.KuaikanmanhuaUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".zh.mangabz.MangabzUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<activity
|
||||
android:name=".zh.manhuagui.ManhuaguiUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<activity
|
||||
android:name=".zh.tencentcomics.TencentComicsUrlActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.NoDisplay">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
|
Loading…
Reference in New Issue