add APIs needed for non legacy NewPipe version

This commit is contained in:
Julian Winkler
2023-09-12 23:18:47 +02:00
parent 399cf87254
commit f5fc993484
78 changed files with 2458 additions and 147 deletions

View File

@@ -1,6 +1,9 @@
package android.net;
public class ConnectivityManager {
public class NetworkCallback {}
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
}