api-impl: misc stubs

This commit is contained in:
Markuss Broks
2024-10-12 14:53:30 +03:00
parent ab07fc11da
commit 24fab49a1c
16 changed files with 63 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ 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
return new NetworkInfo(nativeGetNetworkAvailable());
}
public NetworkInfo getActiveNetworkInfo() {