don't put dismiss listeners on every damn dialog! They replace rather

than chaining.
This commit is contained in:
Andy2 2011-08-24 21:41:35 -07:00
parent 5769ae6a31
commit 1cd1a849e6

View file

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