remove dismissDialog() and removeDialog()

One's a no-op the one place it was used, and the other's not used at all
This commit is contained in:
Eric House 2017-05-03 07:10:26 -07:00
parent 77a5d9c217
commit ed781b36b5
2 changed files with 0 additions and 21 deletions

View file

@ -1427,8 +1427,6 @@ public class BoardDelegate extends DelegateBase
data = nli.makeLaunchJSON();
}
if ( null != data ) {
removeDialog( DlgID.CONFIRM_THEN );
recordInviteSent( InviteMeans.NFC, null );
}
return data;

View file

@ -466,25 +466,6 @@ public class DelegateBase implements DlgClickNotify,
}
}
protected void removeDialog( DlgID dlgID )
{
removeDialog( dlgID.ordinal() );
}
protected void dismissDialog( DlgID dlgID )
{
try {
m_activity.dismissDialog( dlgID.ordinal() );
} catch ( Exception ex ) {
// Log.ex( ex );
}
}
protected void removeDialog( int id )
{
m_activity.removeDialog( id );
}
protected AlertDialog.Builder makeAlertBuilder()
{
return LocUtils.makeAlertBuilder( m_activity );