Files
android_translation_layer/src/api-impl/android/net/ConnectivityManager.java

12 lines
399 B
Java
Raw Normal View History

package android.net;
public class ConnectivityManager {
public NetworkInfo getNetworkInfo(int networkType) {
return null; // this means the network type is not supported, which should make properly coded apps cease any attempts to use network-related APIs
}
public NetworkInfo getActiveNetworkInfo() {
return null; // there is no active network, because there isn't any network at all
}
}