Builtin ssl certificates for old devices

This commit is contained in:
Koitharu
2024-05-08 13:16:10 +03:00
parent 002ce25d7e
commit 311c36b7c0
12 changed files with 119 additions and 41 deletions

View File

@@ -0,0 +1,9 @@
package org.koitharu.kotatsu.core.util.ext
import android.os.Looper
fun Throwable.printStackTraceDebug() = printStackTrace()
fun assertNotInMainThread() = check(Looper.myLooper() != Looper.getMainLooper()) {
"Calling this from the main thread is prohibited"
}

View File

@@ -1,3 +0,0 @@
package org.koitharu.kotatsu.core.util.ext
fun Throwable.printStackTraceDebug() = printStackTrace()