Index: webrtc/sdk/android/api/org/webrtc/NetworkMonitor.java |
diff --git a/webrtc/sdk/android/api/org/webrtc/NetworkMonitor.java b/webrtc/sdk/android/api/org/webrtc/NetworkMonitor.java |
index 26fefc0a21d654ac80c566837de24ae39c172633..985e34671b66ee84d816662385bdd00c943cee43 100644 |
--- a/webrtc/sdk/android/api/org/webrtc/NetworkMonitor.java |
+++ b/webrtc/sdk/android/api/org/webrtc/NetworkMonitor.java |
@@ -114,6 +114,12 @@ public class NetworkMonitor { |
nativeNetworkObservers.remove(nativeObserver); |
} |
+ // Called by the native code to determine if network binding is supported |
+ // on this platform. |
+ private boolean networkBindingSupported() { |
+ return autoDetector != null && autoDetector.supportNetworkCallback(); |
+ } |
+ |
// Called by the native code to get the Android SDK version. |
private static int androidSdkInt() { |
return Build.VERSION.SDK_INT; |