mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Update Main.java
This commit is contained in:
@@ -257,7 +257,7 @@ public class Main extends AndroidApplication {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
try {
|
try {
|
||||||
final Forge forge = (Forge) Gdx.app.getApplicationListener();
|
final Forge forge = (Forge) Gdx.app.getApplicationListener();
|
||||||
@@ -267,13 +267,10 @@ public class Main extends AndroidApplication {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
|
|
||||||
//ensure app doesn't stick around
|
//ensure app doesn't stick around
|
||||||
//ActivityManager am = (ActivityManager)getSystemService(Activity.ACTIVITY_SERVICE);
|
//ActivityManager am = (ActivityManager)getSystemService(Activity.ACTIVITY_SERVICE);
|
||||||
//am.killBackgroundProcesses(getApplicationContext().getPackageName());
|
//am.killBackgroundProcesses(getApplicationContext().getPackageName());
|
||||||
|
}
|
||||||
|
|
||||||
}*/
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPause()
|
protected void onPause()
|
||||||
|
|||||||
Reference in New Issue
Block a user