mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
always print comms_stats (if DEBUG)
This commit is contained in:
parent
0493ad2ef8
commit
84b3c65373
1 changed files with 5 additions and 4 deletions
|
@ -237,6 +237,10 @@ public class ConnStatusHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( BuildConfig.DEBUG ) {
|
||||||
|
sb.append("\n").append( XwJNI.comms_getStats( gamePtr ) );
|
||||||
|
}
|
||||||
msg = sb.toString();
|
msg = sb.toString();
|
||||||
}
|
}
|
||||||
return msg;
|
return msg;
|
||||||
|
@ -676,10 +680,7 @@ public class ConnStatusHandler {
|
||||||
result = String.format( "DevID: %d; host: %s; latest FCM: %s",
|
result = String.format( "DevID: %d; host: %s; latest FCM: %s",
|
||||||
DevID.getRelayDevIDInt(context),
|
DevID.getRelayDevIDInt(context),
|
||||||
XWPrefs.getDefaultRelayHost(context),
|
XWPrefs.getDefaultRelayHost(context),
|
||||||
fcmMsg )
|
fcmMsg );
|
||||||
+ "\n"
|
|
||||||
+ XwJNI.comms_getStats( gamePtr );
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case COMMS_CONN_P2P:
|
case COMMS_CONN_P2P:
|
||||||
result = WiDirService.formatNetStateInfo();
|
result = WiDirService.formatNetStateInfo();
|
||||||
|
|
Loading…
Add table
Reference in a new issue