From faba6c856f9bd9ee28e1105522a1f3e4e5943af7 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 8 Jun 2015 06:31:36 -0700 Subject: [PATCH] enable check-for-updated menu even on DEBUG builds (though the server doesn't respond with anything yet) --- .../XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java index b08917acd..fa44989c3 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java @@ -1300,7 +1300,7 @@ public class GamesListDelegate extends ListDelegateBase // check for updates only serves release builds, so don't offer in // DEBUG case - boolean enable = showDbg && !BuildConfig.DEBUG && nothingSelected + boolean enable = showDbg && nothingSelected && UpdateCheckReceiver.haveToCheck( m_activity ); Utils.setItemVisible( menu, R.id.games_menu_checkupdates, enable );