mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Fix code to install GMS_Conscrypt
This commit is contained in:
parent
e7339ba619
commit
89275270f3
@ -43,7 +43,7 @@ public class Networking {
|
|||||||
gms.getClassLoader()
|
gms.getClassLoader()
|
||||||
.loadClass("com.google.android.gms.common.security.ProviderInstallerImpl")
|
.loadClass("com.google.android.gms.common.security.ProviderInstallerImpl")
|
||||||
.getMethod("insertProvider", Context.class)
|
.getMethod("insertProvider", Context.class)
|
||||||
.invoke(null, context);
|
.invoke(null, gms);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// Failed to update SSL provider, use NoSSLv3SocketFactory on SDK < 21
|
// Failed to update SSL provider, use NoSSLv3SocketFactory on SDK < 21
|
||||||
if (Build.VERSION.SDK_INT < 21)
|
if (Build.VERSION.SDK_INT < 21)
|
||||||
|
Loading…
Reference in New Issue
Block a user