refactor source tree organization, switch to meson

This commit is contained in:
Mis012
2022-10-02 23:06:56 +02:00
parent 2f785e2a59
commit 449090143e
296 changed files with 171615 additions and 69 deletions

View File

@@ -0,0 +1,20 @@
package android.net;
public class NetworkInfo {
public enum State {
CONNECTED,
CONNECTING,
DISCONNECTED,
DISCONNECTING,
SUSPENDED,
UNKNOWN
}
public NetworkInfo.State getState() {
return State.DISCONNECTED;
}
public int getType() {
return 0x8; // where did you even get a NetworkInfo object... there is no network
}
}