Add implementation of ProviderInstallerImpl

This commit is contained in:
voidstarstar 2018-10-08 22:09:06 -04:00 committed by Marvin W
parent a787b52ccc
commit 725926529a
2 changed files with 5 additions and 1 deletions

View File

@ -35,6 +35,8 @@ dependencies {
implementation project(':vtm-extras')
implementation project(':vtm-jts')
implementation project(':vtm-microg-theme')
compile 'org.conscrypt:conscrypt-android:2.0.0'
}
def execResult(...args) {

View File

@ -18,9 +18,11 @@ package com.google.android.gms.common.security;
import android.content.Context;
import android.util.Log;
import org.conscrypt.OpenSSLProvider;
import java.security.Security;
public class ProviderInstallerImpl {
public static void insertProvider(Context context) {
Log.d("ProviderInstallerImpl", "yep, i should do something with Security here...");
Security.insertProviderAt(new OpenSSLProvider(), 1);
}
}