File tree Expand file tree Collapse file tree
pdf2htmlEX/src/main/java/com/viliussutkus89/android/pdf2htmlex Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525import androidx .annotation .Nullable ;
2626
2727import com .getkeepsafe .relinker .ReLinker ;
28- import com .getkeepsafe .relinker .ReLinkerInstance ;
2928import com .viliussutkus89 .android .assetextractor .AssetExtractor ;
3029import com .viliussutkus89 .android .tmpfile .Tmpfile ;
3130
@@ -79,14 +78,7 @@ public CopyProtectionException(String errorMessage) {
7978 private boolean mOwnerPasswordEntered ;
8079
8180 public pdf2htmlEX (@ NonNull Context ctx ) {
82- ReLinkerInstance reLinker = ReLinker .recursively ();
83-
84- // https://github.com/KeepSafe/ReLinker/issues/77
85- // Manually load dependencies, because ReLinker.recursively() doesn't actually load recursively
86- reLinker .loadLibrary (ctx , "c++_shared" );
87- reLinker .loadLibrary (ctx , "envvar" );
88- reLinker .loadLibrary (ctx , "tmpfile" );
89- reLinker .loadLibrary (ctx , "pdf2htmlEX-android" );
81+ ReLinker .recursively ().loadLibrary (ctx , "pdf2htmlEX-android" );
9082
9183 AssetExtractor ae = new AssetExtractor (ctx .getAssets ()).setNoOverwrite ();
9284
You can’t perform that action at this time.
0 commit comments