mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
fix ClassCastException
forge.app.Main cannot be cast to com.badlogic.gdx.backends.android.AndroidApplication
This commit is contained in:
@@ -42,7 +42,7 @@ import com.badlogic.gdx.utils.*;
|
||||
* configuration for the GLSurfaceView.
|
||||
*
|
||||
* @author mzechner */
|
||||
public class ForgeAndroidApplication extends Activity implements AndroidApplicationBase {
|
||||
public class AndroidApplication extends Activity implements AndroidApplicationBase {
|
||||
|
||||
protected AndroidGraphics graphics;
|
||||
protected AndroidInput input;
|
||||
@@ -385,7 +385,7 @@ public class ForgeAndroidApplication extends Activity implements AndroidApplicat
|
||||
handler.post(new Runnable() {
|
||||
@Override
|
||||
public void run () {
|
||||
ForgeAndroidApplication.this.finish();
|
||||
AndroidApplication.this.finish();
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user