mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-16 14:07:28 +01:00
Blur manga info header image
Similar to J2K. This only applies on Android 12+.
This commit is contained in:
@@ -72,7 +72,7 @@ class GlobalExceptionHandler private constructor(
|
||||
return try {
|
||||
Json.decodeFromString(ThrowableSerializer, intent.getStringExtra(INTENT_EXTRA)!!)
|
||||
} catch (e: Exception) {
|
||||
logcat(LogPriority.ERROR, e) { "Wasn't able to retrive throwable from intent" }
|
||||
logcat(LogPriority.ERROR, e) { "Wasn't able to retrieve throwable from intent" }
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,6 @@ class BackupRestorer(
|
||||
return File("")
|
||||
}
|
||||
|
||||
@Suppress("BlockingMethodInNonBlockingContext")
|
||||
private suspend fun performRestore(uri: Uri): Boolean {
|
||||
val backup = BackupUtil.decodeBackup(context, uri)
|
||||
|
||||
|
||||
@@ -60,7 +60,6 @@ class ImageSaver(
|
||||
|
||||
try {
|
||||
data().use { input ->
|
||||
@Suppress("BlockingMethodInNonBlockingContext")
|
||||
context.contentResolver.openOutputStream(picture, "w").use { output ->
|
||||
input.copyTo(output!!)
|
||||
}
|
||||
|
||||
@@ -43,7 +43,6 @@ class ShizukuInstaller(private val service: Service) : Installer(service) {
|
||||
|
||||
override var ready = false
|
||||
|
||||
@Suppress("BlockingMethodInNonBlockingContext")
|
||||
override fun processEntry(entry: Entry) {
|
||||
super.processEntry(entry)
|
||||
scope.launch {
|
||||
|
||||
@@ -289,7 +289,6 @@ internal class MigrateDialogScreenModel(
|
||||
|
||||
// Update custom cover (recheck if custom cover exists)
|
||||
if (migrateCustomCover && oldManga.hasCustomCover()) {
|
||||
@Suppress("BlockingMethodInNonBlockingContext")
|
||||
coverCache.setCustomCoverToCache(newManga, coverCache.getCustomCoverFile(oldManga.id).inputStream())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user