don't remove undo menuitem for networked games -- should be safe to

use now.
This commit is contained in:
Eric House 2012-05-11 07:26:49 -07:00
parent a311e487a9
commit 10ad59247a

View file

@ -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;
}