handle new "no-connect-dead-game" error code the same as an in-play

"deleted" message: put up existing dialog offering to delete the game.
This commit is contained in:
Andy2 2011-07-06 06:49:19 -07:00
parent f3ab40519d
commit 9ec72d6015
2 changed files with 3 additions and 0 deletions

View file

@ -584,6 +584,7 @@ public class BoardActivity extends XWActivity
doToast = true; doToast = true;
break; break;
case DEADGAME:
case DELETED: case DELETED:
strID = R.string.msg_dev_deleted; strID = R.string.msg_dev_deleted;
dlgID = DLG_DELETED; dlgID = DLG_DELETED;

View file

@ -48,6 +48,8 @@ public interface TransportProcs {
,DUP_ROOM ,DUP_ROOM
,TOO_MANY ,TOO_MANY
,DELETED ,DELETED
,NORECONN
,DEADGAME
}; };
void relayErrorProc( XWRELAY_ERROR relayErr ); void relayErrorProc( XWRELAY_ERROR relayErr );