From 4088f50120e6f683f38c3ea36e3f331bacb67976 Mon Sep 17 00:00:00 2001 From: Koitharu Date: Sat, 28 Jun 2025 06:55:09 +0300 Subject: [PATCH] Remove unrelevant strictmode detections --- app/src/debug/kotlin/org/koitharu/kotatsu/KotatsuApp.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/src/debug/kotlin/org/koitharu/kotatsu/KotatsuApp.kt b/app/src/debug/kotlin/org/koitharu/kotatsu/KotatsuApp.kt index 30cd1dc2a..ba3af3868 100644 --- a/app/src/debug/kotlin/org/koitharu/kotatsu/KotatsuApp.kt +++ b/app/src/debug/kotlin/org/koitharu/kotatsu/KotatsuApp.kt @@ -8,10 +8,6 @@ import androidx.core.content.edit import androidx.fragment.app.strictmode.FragmentStrictMode import leakcanary.LeakCanary import org.koitharu.kotatsu.core.BaseApp -import org.koitharu.kotatsu.local.data.LocalMangaRepository -import org.koitharu.kotatsu.local.data.PagesCache -import org.koitharu.kotatsu.parsers.MangaLoaderContext -import org.koitharu.kotatsu.reader.domain.PageLoader class KotatsuApp : BaseApp() { @@ -62,10 +58,6 @@ class KotatsuApp : BaseApp() { detectLeakedRegistrationObjects() if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) detectContentUriWithoutPermission() detectFileUriExposure() - setClassInstanceLimit(LocalMangaRepository::class.java, 1) - setClassInstanceLimit(PagesCache::class.java, 1) - setClassInstanceLimit(MangaLoaderContext::class.java, 1) - setClassInstanceLimit(PageLoader::class.java, 1) penaltyLog() if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P && notifier != null) { penaltyListener(notifier.executor, notifier)