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
api-impl: stubs to make OsmAnd allow OpenGL renderer
it doesn't render anything sadly
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package android.app;
|
||||
|
||||
import android.content.pm.ConfigurationInfo;
|
||||
import java.util.List;
|
||||
|
||||
public class ActivityManager {
|
||||
@@ -17,8 +18,12 @@ public class ActivityManager {
|
||||
public long availMem = 10000;
|
||||
}
|
||||
|
||||
public void getMemoryInfo (MemoryInfo outInfo)
|
||||
public void getMemoryInfo(MemoryInfo outInfo)
|
||||
{
|
||||
outInfo = new MemoryInfo();
|
||||
}
|
||||
|
||||
public ConfigurationInfo getDeviceConfigurationInfo() {
|
||||
return new ConfigurationInfo();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,6 +78,7 @@ public class ConfigurationInfo {
|
||||
public int reqGlEsVersion;
|
||||
|
||||
public ConfigurationInfo() {
|
||||
reqGlEsVersion = 0x00030000;
|
||||
}
|
||||
|
||||
public ConfigurationInfo(ConfigurationInfo orig) {
|
||||
|
||||
Reference in New Issue
Block a user