mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-10 05:26:10 +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,
|
R.string.connstat_net_fmt,
|
||||||
connTypes.toString( context )));
|
connTypes.toString( context )));
|
||||||
for ( CommsConnType typ : connTypes.getTypes() ) {
|
for ( CommsConnType typ : connTypes.getTypes() ) {
|
||||||
sb.append( String.format( "\n\n*** %s ***\n",
|
String did = "";
|
||||||
typ.longName( context ) ) );
|
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 );
|
SuccessRecord record = recordFor( typ, false );
|
||||||
tmp = LocUtils.getString( context, record.successNewer?
|
tmp = LocUtils.getString( context, record.successNewer?
|
||||||
R.string.connstat_succ :
|
R.string.connstat_succ :
|
||||||
|
|
Loading…
Reference in a new issue