mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
Merge branch 'android_branch' into relay_noconn
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
This commit is contained in:
commit
f5e645f62a
1 changed files with 5 additions and 3 deletions
|
@ -523,11 +523,13 @@ public class JNIThread extends Thread {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CMD_RESEND:
|
case CMD_RESEND:
|
||||||
|
boolean force = ((Boolean)args[0]).booleanValue();
|
||||||
int nSent =
|
int nSent =
|
||||||
XwJNI.comms_resendAll( m_jniGamePtr,
|
XwJNI.comms_resendAll( m_jniGamePtr, force,
|
||||||
((Boolean)args[0]).booleanValue(),
|
|
||||||
((Boolean)args[1]).booleanValue() );
|
((Boolean)args[1]).booleanValue() );
|
||||||
Message.obtain( m_handler, MSGS_SENT, nSent ).sendToTarget();
|
if ( force ) {
|
||||||
|
Message.obtain(m_handler, MSGS_SENT, nSent).sendToTarget();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
// case CMD_ACKANY:
|
// case CMD_ACKANY:
|
||||||
// XwJNI.comms_ackAny( m_jniGamePtr );
|
// XwJNI.comms_ackAny( m_jniGamePtr );
|
||||||
|
|
Loading…
Reference in a new issue