mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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
|
||||
|
||||
@Override
|
||||
protected void onPause()
|
||||
protected void onStop()
|
||||
{
|
||||
m_handler = null;
|
||||
ConnStatusHandler.setHandler( null );
|
||||
waitCloseGame( true );
|
||||
super.onPause();
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume()
|
||||
protected void onStart()
|
||||
{
|
||||
super.onResume();
|
||||
super.onStart();
|
||||
m_handler = new Handler();
|
||||
m_blockingDlgID = BLOCKING_DLG_NONE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue