Change OnDestroy behaviour
This commit is contained in:
parent
8fa32c733c
commit
3794611567
1 changed files with 4 additions and 4 deletions
|
@ -322,7 +322,7 @@ public class SDLActivity extends Activity {
|
||||||
and kills process while engine is writing config.
|
and kills process while engine is writing config.
|
||||||
it results in configuration loss, so we preferred to disable it
|
it results in configuration loss, so we preferred to disable it
|
||||||
*/
|
*/
|
||||||
return;
|
|
||||||
/*
|
/*
|
||||||
if( mVibrator != null ) mVibrator.cancel();
|
if( mVibrator != null ) mVibrator.cancel();
|
||||||
|
|
||||||
|
@ -347,12 +347,12 @@ public class SDLActivity extends Activity {
|
||||||
SDLActivity.mSDLThread = null;
|
SDLActivity.mSDLThread = null;
|
||||||
|
|
||||||
//Log.v("SDL", "Finished waiting for SDL thread");
|
//Log.v("SDL", "Finished waiting for SDL thread");
|
||||||
}
|
}*/
|
||||||
|
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
// Reset everything in case the user re opens the app
|
// Reset everything in case the user re opens the app
|
||||||
SDLActivity.initialize();
|
finish();
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue