Make ConnectionType public in order to add java NetworkObserver.
BUG= R=glaznev@webrtc.org, jiayl@google.com Review URL: https://codereview.webrtc.org/1429053002 . Cr-Commit-Position: refs/heads/master@{#10485}
This commit is contained in:
parent
678c903eb2
commit
5a846c086b
@ -55,7 +55,7 @@ import android.util.Log;
|
||||
* ACCESS_NETWORK_STATE permission.
|
||||
*/
|
||||
public class NetworkMonitorAutoDetect extends BroadcastReceiver {
|
||||
static enum ConnectionType {
|
||||
public static enum ConnectionType {
|
||||
CONNECTION_UNKNOWN,
|
||||
CONNECTION_ETHERNET,
|
||||
CONNECTION_WIFI,
|
||||
@ -240,7 +240,6 @@ public class NetworkMonitorAutoDetect extends BroadcastReceiver {
|
||||
|
||||
static final int INVALID_NET_ID = -1;
|
||||
private static final String TAG = "NetworkMonitorAutoDetect";
|
||||
private static final int UNKNOWN_LINK_SPEED = -1;
|
||||
private final IntentFilter intentFilter;
|
||||
|
||||
// Observer for the connection type change.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user