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:
Eric House 2014-02-07 07:40:34 -08:00
parent d97784ba13
commit a388351219

View file

@ -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;