From 766fa78888b254e32f49af252fdd3a3a318908af Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Wed, 3 Jan 2024 02:59:22 +0200 Subject: [PATCH] Remove Relinker recursive loading workaround --- .../java/com/viliussutkus89/android/wvware/wvWare.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/wvWare/src/main/java/com/viliussutkus89/android/wvware/wvWare.java b/wvWare/src/main/java/com/viliussutkus89/android/wvware/wvWare.java index a2c4e05..0413943 100644 --- a/wvWare/src/main/java/com/viliussutkus89/android/wvware/wvWare.java +++ b/wvWare/src/main/java/com/viliussutkus89/android/wvware/wvWare.java @@ -66,14 +66,9 @@ public wvWare(@NonNull Context ctx) { } private synchronized void init(@NonNull Context ctx) { + ReLinker.recursively().loadLibrary(ctx, "wvware-android"); Tmpfile.init(ctx.getCacheDir()); - ReLinkerInstance reLinker = ReLinker.recursively(); - // https://github.com/KeepSafe/ReLinker/issues/77 - // Manually load dependencies, because ReLinker.recursively() doesn't actually load recursively - reLinker.loadLibrary(ctx, "c++_shared"); - reLinker.loadLibrary(ctx, "wvware-android"); - LegacyCleanup.cleanup(ctx); AssetExtractor ae = new AssetExtractor(ctx.getAssets()).setNoOverwrite();