Skip to content

Commit 8927527

Browse files
committed
Fix code to install GMS_Conscrypt
1 parent e7339ba commit 8927527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/src/main/java/com/topjohnwu/net/Networking.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static void init(Context context) {
4343
gms.getClassLoader()
4444
.loadClass("com.google.android.gms.common.security.ProviderInstallerImpl")
4545
.getMethod("insertProvider", Context.class)
46-
.invoke(null, context);
46+
.invoke(null, gms);
4747
} catch (Exception e) {
4848
// Failed to update SSL provider, use NoSSLv3SocketFactory on SDK < 21
4949
if (Build.VERSION.SDK_INT < 21)

0 commit comments

Comments
 (0)