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,9 +193,11 @@ public class DlgDelegate {
protected void showDialog( DlgID dlgID ) protected void showDialog( DlgID dlgID )
{ {
if ( !m_activity.isFinishing() ) {
int id = dlgID.ordinal(); int id = dlgID.ordinal();
m_activity.showDialog( id ); m_activity.showDialog( id );
} }
}
public Dialog createDialog( int id ) public Dialog createDialog( int id )
{ {