2014-08-22 20:08:44 +00:00
|
|
|
/*
|
2017-06-12 22:30:41 +00:00
|
|
|
* Copyright (C) 2013-2017 microG Project Team
|
2014-08-22 20:08:44 +00:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
2015-02-01 22:27:46 +00:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2014-08-22 20:08:44 +00:00
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package com.google.android.gms.common.security;
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
import android.util.Log;
|
2018-10-09 02:09:06 +00:00
|
|
|
import org.conscrypt.OpenSSLProvider;
|
|
|
|
import java.security.Security;
|
2014-08-22 20:08:44 +00:00
|
|
|
|
|
|
|
public class ProviderInstallerImpl {
|
|
|
|
public static void insertProvider(Context context) {
|
2018-10-09 02:09:06 +00:00
|
|
|
Security.insertProviderAt(new OpenSSLProvider(), 1);
|
2014-08-22 20:08:44 +00:00
|
|
|
}
|
|
|
|
}
|