You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add lots of java APIs needed for Whatsapp
This commit is contained in:
@@ -22,4 +22,8 @@ public class ConnectivityManager {
|
||||
public native boolean isActiveNetworkMetered();
|
||||
|
||||
protected native boolean nativeGetNetworkAvailable();
|
||||
|
||||
public NetworkInfo[] getAllNetworkInfo() {
|
||||
return new NetworkInfo[] { getActiveNetworkInfo() };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user