mirror of https://github.com/YTVanced/VancedMicroG
Add implementation of ProviderInstallerImpl
This commit is contained in:
parent
a787b52ccc
commit
725926529a
|
@ -35,6 +35,8 @@ dependencies {
|
||||||
implementation project(':vtm-extras')
|
implementation project(':vtm-extras')
|
||||||
implementation project(':vtm-jts')
|
implementation project(':vtm-jts')
|
||||||
implementation project(':vtm-microg-theme')
|
implementation project(':vtm-microg-theme')
|
||||||
|
|
||||||
|
compile 'org.conscrypt:conscrypt-android:2.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
def execResult(...args) {
|
def execResult(...args) {
|
||||||
|
|
|
@ -18,9 +18,11 @@ package com.google.android.gms.common.security;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
import org.conscrypt.OpenSSLProvider;
|
||||||
|
import java.security.Security;
|
||||||
|
|
||||||
public class ProviderInstallerImpl {
|
public class ProviderInstallerImpl {
|
||||||
public static void insertProvider(Context context) {
|
public static void insertProvider(Context context) {
|
||||||
Log.d("ProviderInstallerImpl", "yep, i should do something with Security here...");
|
Security.insertProviderAt(new OpenSSLProvider(), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue