Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72592652 authored by voidstarstar's avatar voidstarstar Committed by Marvin W.
Browse files

Add implementation of ProviderInstallerImpl

parent a787b52c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {
+3 −1
Original line number Diff line number Diff line
@@ -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);
    }
}