mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
call init from outside constructor since constructor can call back into callee
This commit is contained in:
parent
ccf84135a0
commit
1035c94c3f
2 changed files with 2 additions and 2 deletions
|
@ -67,6 +67,7 @@ public class GamesListActivity extends ListActivity {
|
|||
{
|
||||
super.onCreate( savedInstanceState );
|
||||
m_dlgt = new GamesListDelegate( this, savedInstanceState );
|
||||
m_dlgt.init( savedInstanceState );
|
||||
} // onCreate
|
||||
|
||||
// called when we're brought to the front (probably as a result of
|
||||
|
|
|
@ -124,7 +124,6 @@ public class GamesListDelegate extends DelegateBase
|
|||
{
|
||||
super( activity, savedInstanceState );
|
||||
m_activity = activity;
|
||||
init( savedInstanceState );
|
||||
}
|
||||
|
||||
protected Dialog createDialog( int id )
|
||||
|
@ -348,7 +347,7 @@ public class GamesListDelegate extends DelegateBase
|
|||
}
|
||||
}
|
||||
|
||||
private void init( Bundle savedInstanceState )
|
||||
protected void init( Bundle savedInstanceState )
|
||||
{
|
||||
CrashTrack.init( m_activity );
|
||||
|
||||
|
|
Loading…
Reference in a new issue