v0.9.2b: fixed URL opening bug in Android 11, and re-final commit

This commit is contained in:
Evan Debenham
2021-03-20 17:13:33 -04:00
parent d20383935b
commit c991208b9b
5 changed files with 33 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ public class DeviceCompat {
}
public static void openURI( String URI ){
Gdx.net.openURI( URI );
Game.platform.openURI(URI);
}
public static void log( String tag, String message ){

View File

@@ -30,6 +30,10 @@ public abstract class PlatformSupport {
public abstract void updateSystemUI();
public abstract boolean connectedToUnmeteredNetwork();
//FIXME this is a temporary method to workaround a bug in libGDX with Android 11+
//it can be removed once Shattered is updated to libGDX 1.9.14+
public abstract boolean openURI( String URI );
//FIXME this is currently used because no platform-agnostic text input has been implemented.
//should look into doing that using either plain openGL or libgdx's libraries