fix (I hope) crash: don't show alert on activity that's finishing

This commit is contained in:
Eric House 2015-06-03 06:16:01 -07:00
parent 8e21c69a55
commit 74c13fa2cf

View file

@ -193,8 +193,10 @@ public class DlgDelegate {
protected void showDialog( DlgID dlgID )
{
int id = dlgID.ordinal();
m_activity.showDialog( id );
if ( !m_activity.isFinishing() ) {
int id = dlgID.ordinal();
m_activity.showDialog( id );
}
}
public Dialog createDialog( int id )