Remove missing library reference

This commit is contained in:
Oizaro 2021-05-02 19:49:51 +02:00 committed by GitHub
parent 8527e341f9
commit 7b7203388b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ public class ProviderInstallerImpl {
// TODO: Move manual loading into helper function (as it is also used in both maps implementations)
String primaryCpuAbi = (String) ApplicationInfo.class.getField("primaryCpuAbi").get(otherAppInfo);
if (primaryCpuAbi != null) {
String path = "lib/" + primaryCpuAbi + "/libconscrypt_gmscore_jni.so";
String path = "lib/" + primaryCpuAbi;
File cacheFile = new File(context.createPackageContext(packageName, 0).getCacheDir().getAbsolutePath() + "/.gmscore/" + path);
cacheFile.getParentFile().mkdirs();
File apkFile = new File(context.getPackageCodePath());
@ -217,4 +217,4 @@ public class ProviderInstallerImpl {
in.close();
out.close();
}
}
}