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:
@@ -31,4 +31,20 @@ public class NetworkInfo {
|
||||
public boolean isConnectedOrConnecting() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public int getSubtype() {
|
||||
return 0; // NETWORK_TYPE_UNKNOWN
|
||||
}
|
||||
|
||||
public boolean isRoaming() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getTypeName() {
|
||||
return "UNKNOWN";
|
||||
}
|
||||
|
||||
public String getSubtypeName() {
|
||||
return "UNKNOWN";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user