mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
revert jackson
This commit is contained in:
parent
dd45ac9e8a
commit
b4da93c1de
2 changed files with 10 additions and 1 deletions
|
@ -177,7 +177,8 @@ dependencies {
|
|||
|
||||
// implementation("io.karn:khttp-android:0.1.2") //okhttp instead
|
||||
// implementation("org.jsoup:jsoup:1.13.1")
|
||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.15.2")
|
||||
// DONT UPDATE, WILL CRASH ANDROID TV ????
|
||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1")
|
||||
|
||||
implementation("androidx.preference:preference-ktx:1.2.0")
|
||||
|
||||
|
|
|
@ -477,6 +477,14 @@ object PluginManager {
|
|||
Log.i(TAG, "Loading plugin: $data")
|
||||
|
||||
return try {
|
||||
/* in case of android 14 then
|
||||
try {
|
||||
File(filePath).setReadOnly()
|
||||
} catch (t : Throwable) {
|
||||
Log.e(TAG, "Failed to set dex as readonly")
|
||||
logError(t)
|
||||
}*/
|
||||
|
||||
val loader = PathClassLoader(filePath, context.classLoader)
|
||||
var manifest: Plugin.Manifest
|
||||
loader.getResourceAsStream("manifest.json").use { stream ->
|
||||
|
|
Loading…
Reference in a new issue