mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
print DevID as part of status header for relay, DEBUG builds only
This commit is contained in:
parent
440e85f3a5
commit
9a7220554f
1 changed files with 8 additions and 2 deletions
|
@ -185,8 +185,14 @@ public class ConnStatusHandler {
|
|||
R.string.connstat_net_fmt,
|
||||
connTypes.toString( context )));
|
||||
for ( CommsConnType typ : connTypes.getTypes() ) {
|
||||
sb.append( String.format( "\n\n*** %s ***\n",
|
||||
typ.longName( context ) ) );
|
||||
String did = "";
|
||||
if ( BuildConfig.DEBUG
|
||||
&& CommsConnType.COMMS_CONN_RELAY == typ ) {
|
||||
did = String.format( "(DevID: %d) ",
|
||||
DevID.getRelayDevIDInt(context) );
|
||||
}
|
||||
sb.append( String.format( "\n\n*** %s %s***\n",
|
||||
typ.longName( context ), did ) );
|
||||
SuccessRecord record = recordFor( typ, false );
|
||||
tmp = LocUtils.getString( context, record.successNewer?
|
||||
R.string.connstat_succ :
|
||||
|
|
Loading…
Reference in a new issue