ActivityManager: add a stub for MemoryInfo

This commit is contained in:
Markuss Broks
2024-03-16 17:10:38 +00:00
parent d4e9ddbd15
commit ad4de8edc4

View File

@@ -12,4 +12,13 @@ public class ActivityManager {
public boolean isLowRamDevice() {return false;}
public static class MemoryInfo {
/* For now, just always report there's 10GB free RAM */
public long availMem = 10000;
}
public void getMemoryInfo (MemoryInfo outInfo)
{
outInfo = new MemoryInfo();
}
}