Skip to content

Commit

Permalink
PluginManager: uncomment setReadOnly for Android 14 (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna712 authored Dec 18, 2023
1 parent 484c21c commit db91552
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
} catch (t: Throwable) {
Log.e(TAG, "Failed to set dex as readonly")
logError(t)
}*/
}

val loader = PathClassLoader(filePath, context.classLoader)
var manifest: Plugin.Manifest
Expand Down

0 comments on commit db91552

Please sign in to comment.