mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
allow show timer stats and game traffic on release builds
This commit is contained in:
parent
e101050779
commit
bc989dc903
2 changed files with 3 additions and 3 deletions
|
@ -450,7 +450,8 @@ public abstract class DelegateBase implements DlgClickNotify,
|
|||
ab.setMessage( msg )
|
||||
.setPositiveButton( android.R.string.ok, null );
|
||||
|
||||
if ( BuildConfig.NON_RELEASE && null != conTypes ) {
|
||||
boolean showDbg = BuildConfig.NON_RELEASE || getDebugEnabled( m_activity );
|
||||
if ( showDbg && null != conTypes ) {
|
||||
OnClickListener lstnr = null;
|
||||
int buttonTxt = 0;
|
||||
if ( conTypes.contains( CommsConnType.COMMS_CONN_MQTT ) ) {
|
||||
|
|
|
@ -1723,8 +1723,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
0 < DBUtils.getGamesWithSendsPending( m_activity ).size();
|
||||
Utils.setItemVisible( menu, R.id.games_menu_resend, enable );
|
||||
|
||||
Utils.setItemVisible( menu, R.id.games_menu_timerStats,
|
||||
BuildConfig.NON_RELEASE );
|
||||
Utils.setItemVisible( menu, R.id.games_menu_timerStats, showDbg );
|
||||
|
||||
enable = Log.getStoreLogs();
|
||||
Utils.setItemVisible( menu, R.id.games_menu_enableLogStorage, !enable );
|
||||
|
|
Loading…
Reference in a new issue