From 66aaa81a2eb52b9a6269f5b5f702e2e4bcc2f4a8 Mon Sep 17 00:00:00 2001 From: MohamedRisaldarTA <73091075+MohamedRisaldarTA@users.noreply.github.com> Date: Mon, 26 Jun 2023 18:38:55 +0530 Subject: [PATCH] Exposing Adapter types in PeerConnectionFactory --- .../api/org/webrtc/PeerConnectionFactory.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk/android/api/org/webrtc/PeerConnectionFactory.java b/sdk/android/api/org/webrtc/PeerConnectionFactory.java index e093056b55..1817d41beb 100644 --- a/sdk/android/api/org/webrtc/PeerConnectionFactory.java +++ b/sdk/android/api/org/webrtc/PeerConnectionFactory.java @@ -135,13 +135,13 @@ public static class Options { // Keep in sync with webrtc/rtc_base/network.h! // // These bit fields are defined for `networkIgnoreMask` below. - static final int ADAPTER_TYPE_UNKNOWN = 0; - static final int ADAPTER_TYPE_ETHERNET = 1 << 0; - static final int ADAPTER_TYPE_WIFI = 1 << 1; - static final int ADAPTER_TYPE_CELLULAR = 1 << 2; - static final int ADAPTER_TYPE_VPN = 1 << 3; - static final int ADAPTER_TYPE_LOOPBACK = 1 << 4; - static final int ADAPTER_TYPE_ANY = 1 << 5; + public static final int ADAPTER_TYPE_UNKNOWN = 0; + public static final int ADAPTER_TYPE_ETHERNET = 1 << 0; + public static final int ADAPTER_TYPE_WIFI = 1 << 1; + public static final int ADAPTER_TYPE_CELLULAR = 1 << 2; + public static final int ADAPTER_TYPE_VPN = 1 << 3; + public static final int ADAPTER_TYPE_LOOPBACK = 1 << 4; + public static final int ADAPTER_TYPE_ANY = 1 << 5; public int networkIgnoreMask; public boolean disableEncryption;