We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6cc64d commit f4b65f5Copy full SHA for f4b65f5
patcher/src/androidMain/kotlin/app/revanced/patcher/patch/Patch.android.kt
@@ -1,6 +1,6 @@
1
package app.revanced.patcher.patch
2
3
-import dalvik.system.DexClassLoader
+import dalvik.system.PathClassLoader
4
import lanchon.multidexlib2.BasicDexFileNamer
5
import lanchon.multidexlib2.MultiDexIO
6
import java.io.File
@@ -32,10 +32,8 @@ actual fun loadPatches(
32
classDef.type.substring(1, classDef.length - 1)
33
}
34
},
35
- DexClassLoader(
+ PathClassLoader(
36
patchesFiles.joinToString(File.pathSeparator) { it.absolutePath },
37
- null,
38
39
currentClassLoader,
40
),
41
onFailedToLoad,
0 commit comments