diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DelegateBase.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DelegateBase.java index 257c2a2e1..79ee78be4 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DelegateBase.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DelegateBase.java @@ -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 ) ) { diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java index 2f9a8455c..4eafb9078 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java @@ -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 );