diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsActivity.java index 392cfdb79..0d05e129e 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsActivity.java @@ -34,12 +34,6 @@ public class PrefsActivity extends PreferenceActivity private PrefsDelegate m_dlgt; - @Override - protected Dialog onCreateDialog( int id ) - { - return m_dlgt.onCreateDialog( id ); - } - @Override protected void onCreate( Bundle savedInstanceState ) { @@ -89,6 +83,19 @@ public class PrefsActivity extends PreferenceActivity super.onDestroy(); } + @Override + protected Dialog onCreateDialog( int id ) + { + return m_dlgt.onCreateDialog( id ); + } + + @Override + public void onPrepareDialog( int id, Dialog dialog ) + { + super.onPrepareDialog( id, dialog ); + m_dlgt.prepareDialog( DlgID.values()[id], dialog ); + } + public void showOKOnlyDialog( int msgID ) { m_dlgt.showOKOnlyDialog( msgID );