Call static method getConnectionType using the class name.

BUG=
R=glaznev@webrtc.org

Review URL: https://codereview.webrtc.org/1669573002 .

Cr-Commit-Position: refs/heads/master@{#11478}
This commit is contained in:
Honghai Zhang 2016-02-03 14:15:07 -08:00
parent 5c35cf9f8e
commit 45b683f43f

View File

@ -173,7 +173,7 @@ public class NetworkMonitor {
applicationContext);
final NetworkMonitorAutoDetect.NetworkState networkState =
autoDetector.getCurrentNetworkState();
updateCurrentConnectionType(autoDetector.getConnectionType(networkState));
updateCurrentConnectionType(NetworkMonitorAutoDetect.getConnectionType(networkState));
updateActiveNetworkList();
}
}