mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-09 22:00:39 +01:00
only show game-gone msg src on non-release builds
This commit is contained in:
parent
f4e7ff1397
commit
9929de1fa7
2 changed files with 3 additions and 2 deletions
|
@ -265,7 +265,7 @@ public class BoardDelegate extends DelegateBase
|
||||||
CommsAddrRec.ConnExpl expl = params.length == 0 ? null
|
CommsAddrRec.ConnExpl expl = params.length == 0 ? null
|
||||||
: (CommsAddrRec.ConnExpl)params[0];
|
: (CommsAddrRec.ConnExpl)params[0];
|
||||||
String message = getString( R.string.msg_dev_deleted_fmt, gameName );
|
String message = getString( R.string.msg_dev_deleted_fmt, gameName );
|
||||||
if ( null != expl ) {
|
if ( BuildConfig.NON_RELEASE && null != expl ) {
|
||||||
message += "\n\n" + expl.getUserExpl( m_activity );
|
message += "\n\n" + expl.getUserExpl( m_activity );
|
||||||
}
|
}
|
||||||
ab = ab.setTitle( R.string.query_title )
|
ab = ab.setTitle( R.string.query_title )
|
||||||
|
|
|
@ -113,7 +113,8 @@ public class CommsAddrRec implements Serializable {
|
||||||
|
|
||||||
public String getUserExpl( Context context )
|
public String getUserExpl( Context context )
|
||||||
{
|
{
|
||||||
return String.format( "%s: %s", mType, mName );
|
Assert.assertTrueNR( BuildConfig.NON_RELEASE );
|
||||||
|
return String.format( "(Msg src: {%s: %s})", mType, mName );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue