v0.9.2b: fixed URL opening bug in Android 11, and re-final commit
This commit is contained in:
@@ -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 ){
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user