From 10ad59247a1af4dab750886b5b73dda39330d09c Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 11 May 2012 07:26:49 -0700 Subject: [PATCH] don't remove undo menuitem for networked games -- should be safe to use now. --- .../XWords4/src/org/eehouse/android/xw4/BoardActivity.java | 6 ------ 1 file changed, 6 deletions(-) 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 f00b8eaac..70f6a8791 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -602,12 +602,6 @@ public class BoardActivity extends XWActivity MenuInflater inflater = getMenuInflater(); inflater.inflate( R.menu.board_menu, menu ); - // For now undo-last can crash the app or break a game in - // networked case. Disable until this is fixed. - if ( null != m_gi - && m_gi.serverRole != DeviceRole.SERVER_STANDALONE ) { - menu.removeItem( R.id.board_menu_undo_last ); - } return true; }