mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
save/load games in onStop/onStart rather than onPause/onResume so we don't do it as often, and specifically not every time the LookupActivity is pushed. This is an experiment.
This commit is contained in:
parent
d97784ba13
commit
a388351219
1 changed files with 4 additions and 4 deletions
|
@ -589,18 +589,18 @@ public class BoardActivity extends XWActivity
|
||||||
} // onCreate
|
} // onCreate
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPause()
|
protected void onStop()
|
||||||
{
|
{
|
||||||
m_handler = null;
|
m_handler = null;
|
||||||
ConnStatusHandler.setHandler( null );
|
ConnStatusHandler.setHandler( null );
|
||||||
waitCloseGame( true );
|
waitCloseGame( true );
|
||||||
super.onPause();
|
super.onStop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onResume()
|
protected void onStart()
|
||||||
{
|
{
|
||||||
super.onResume();
|
super.onStart();
|
||||||
m_handler = new Handler();
|
m_handler = new Handler();
|
||||||
m_blockingDlgID = BLOCKING_DLG_NONE;
|
m_blockingDlgID = BLOCKING_DLG_NONE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue