0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-12-05 01:07:27 +00:00

Merge pull request #130 from Oizaro/patch-1

Remove missing library reference
This commit is contained in:
KevinX8 2021-05-02 18:50:42 +01:00 committed by GitHub
commit 70c5e044db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) // 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); String primaryCpuAbi = (String) ApplicationInfo.class.getField("primaryCpuAbi").get(otherAppInfo);
if (primaryCpuAbi != null) { 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); File cacheFile = new File(context.createPackageContext(packageName, 0).getCacheDir().getAbsolutePath() + "/.gmscore/" + path);
cacheFile.getParentFile().mkdirs(); cacheFile.getParentFile().mkdirs();
File apkFile = new File(context.getPackageCodePath()); File apkFile = new File(context.getPackageCodePath());