mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
don't put dismiss listeners on every damn dialog! They replace rather
than chaining.
This commit is contained in:
parent
5769ae6a31
commit
1cd1a849e6
1 changed files with 0 additions and 11 deletions
|
@ -95,17 +95,6 @@ public class XWListActivity extends ListActivity
|
|||
if ( null == dialog ) {
|
||||
dialog = super.onCreateDialog( id );
|
||||
}
|
||||
if ( null != dialog ) {
|
||||
DialogInterface.OnDismissListener lstnr =
|
||||
new DialogInterface.OnDismissListener() {
|
||||
public void onDismiss( DialogInterface di ) {
|
||||
Utils.logf( "%s.onDismiss() called",
|
||||
getClass().getName() );
|
||||
removeDialog( id );
|
||||
}
|
||||
};
|
||||
dialog.setOnDismissListener( lstnr );
|
||||
}
|
||||
return dialog;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue