add lots of java APIs needed for Whatsapp

This commit is contained in:
Julian Winkler
2024-06-15 22:32:01 +02:00
parent b81f53e4b2
commit bb50bbfa91
61 changed files with 383 additions and 71 deletions

View File

@@ -9,6 +9,8 @@ public final class PowerManager {
public void release() {}
public boolean isHeld() { return false; }
public void acquire(long timeout) {}
}
public WakeLock newWakeLock(int levelAndFlags, String tag) {
@@ -18,4 +20,8 @@ public final class PowerManager {
public void userActivity(long dummy, boolean dummy2) {}
public static final int FULL_WAKE_LOCK = 0x1a;
public boolean isPowerSaveMode() { return false; }
public boolean isScreenOn() { return true; }
}