mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
PluginManager: uncomment setReadOnly for Android 14 (#823)
This commit is contained in:
parent
484c21cc1c
commit
db91552f39
1 changed files with 3 additions and 3 deletions
|
@ -477,13 +477,13 @@ object PluginManager {
|
|||
Log.i(TAG, "Loading plugin: $data")
|
||||
|
||||
return try {
|
||||
/* in case of android 14 then
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue