From 9ec72d60153363331450cd24dec3424059ccdb82 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Wed, 6 Jul 2011 06:49:19 -0700 Subject: [PATCH] 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. --- .../XWords4/src/org/eehouse/android/xw4/BoardActivity.java | 1 + .../XWords4/src/org/eehouse/android/xw4/jni/TransportProcs.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java index 29aab2c5e..d016d19fc 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -584,6 +584,7 @@ public class BoardActivity extends XWActivity doToast = true; break; + case DEADGAME: case DELETED: strID = R.string.msg_dev_deleted; dlgID = DLG_DELETED; diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/TransportProcs.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/TransportProcs.java index c381ba9ad..a5bab2102 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/TransportProcs.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/TransportProcs.java @@ -48,6 +48,8 @@ public interface TransportProcs { ,DUP_ROOM ,TOO_MANY ,DELETED + ,NORECONN + ,DEADGAME }; void relayErrorProc( XWRELAY_ERROR relayErr );