From ff3d5871793b574b50e82537daac7840b86f018c Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 18 Aug 2015 06:40:31 -0700 Subject: [PATCH] really only post messages sent toast when user chose the menuitem --- .../XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java index f7b41574c..79d0de388 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java @@ -523,11 +523,11 @@ public class JNIThread extends Thread { break; case CMD_RESEND: - boolean force = ((Boolean)args[0]).booleanValue(); int nSent = - XwJNI.comms_resendAll( m_jniGamePtr, force, + XwJNI.comms_resendAll( m_jniGamePtr, + ((Boolean)args[0]).booleanValue(), ((Boolean)args[1]).booleanValue() ); - if ( force ) { + if ( ((Boolean)args[2]).booleanValue() ) { Message.obtain(m_handler, MSGS_SENT, nSent).sendToTarget(); } break;