diff --git a/java/com/facebook/soloader/ApkSoSource.java b/java/com/facebook/soloader/ApkSoSource.java index 4634800..b7d267b 100644 --- a/java/com/facebook/soloader/ApkSoSource.java +++ b/java/com/facebook/soloader/ApkSoSource.java @@ -132,7 +132,7 @@ boolean shouldExtract(ZipEntry ze, String soName) { File sysLibFile = new File(mLibDir, soName); try { if (!sysLibFile.getCanonicalPath().startsWith(mLibDir.getCanonicalPath())) { - LogUtil.w( + LogUtil.d( TAG, "Not allowing consideration of " + zipPath + ": " + soName + " not in lib dir."); return false; } diff --git a/java/com/facebook/soloader/SoLoader.java b/java/com/facebook/soloader/SoLoader.java index 907a9bc..04ce13e 100644 --- a/java/com/facebook/soloader/SoLoader.java +++ b/java/com/facebook/soloader/SoLoader.java @@ -1083,7 +1083,7 @@ private static void doLoadLibraryBySoName( throw SoLoaderDSONotFoundError.create(soName, sApplicationContext, sSoSources); } catch (IOException err) { // General SoLoaderULError - SoLoaderULError error = new SoLoaderULError(soName); + SoLoaderULError error = new SoLoaderULError(soName, err.toString()); error.initCause(err); throw error; } finally { diff --git a/java/com/facebook/soloader/recovery/WaitForAsyncInit.java b/java/com/facebook/soloader/recovery/WaitForAsyncInit.java index 2cfb873..3ba616e 100644 --- a/java/com/facebook/soloader/recovery/WaitForAsyncInit.java +++ b/java/com/facebook/soloader/recovery/WaitForAsyncInit.java @@ -40,7 +40,7 @@ public boolean recover(UnsatisfiedLinkError e, SoSource[] soSources) { for (SoSource soSource : soSources) { if (soSource instanceof AsyncInitSoSource) { AsyncInitSoSource source = (AsyncInitSoSource) soSource; - LogUtil.e(SoLoader.TAG, "Waiting on SoSource " + source.getClass().getName()); + LogUtil.e(SoLoader.TAG, "Waiting on SoSource " + soSource.getName()); source.waitUntilInitCompleted(); } }