From 5ed9d2c6aa66c86ae26946560aef61dc1485ee5c Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 2 Sep 2017 11:24:58 -0700 Subject: [PATCH] remove dead code --- .../java/org/eehouse/android/xw4/BoardDelegate.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java index 78e963232..609e9958a 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java @@ -104,7 +104,6 @@ public class BoardDelegate extends DelegateBase private Button m_exchCancelButton; private SentInvitesInfo m_sentInfo; private Perms23.PermCbck m_permCbck; - private ArrayList m_pendingChats; private CommsConnTypeSet m_connTypes = null; private String[] m_missingDevs; @@ -553,8 +552,6 @@ public class BoardDelegate extends DelegateBase m_isFirstLaunch = null == savedInstanceState; getBundledData( savedInstanceState ); - m_pendingChats = new ArrayList(); - m_utils = new BoardUtilCtxt(); m_timers = new TimerRunnable[4]; // needs to be in sync with // XWTimerReason @@ -2144,7 +2141,6 @@ public class BoardDelegate extends DelegateBase if ( m_gi.serverRole != DeviceRole.SERVER_STANDALONE ) { warnIfNoTransport(); - trySendChats(); tickle( isStart ); tryInvites(); } @@ -2407,15 +2403,6 @@ public class BoardDelegate extends DelegateBase } } - private void trySendChats() - { - Iterator iter = m_pendingChats.iterator(); - while ( iter.hasNext() ) { - handleViaThread( JNICmd.CMD_SENDCHAT, iter.next() ); - } - m_pendingChats.clear(); - } - private void tryInvites() { if ( 0 < m_mySIS.nMissing && m_summary.hasRematchInfo() ) {