From cb97ceab826dd317a2b4bf63deaf7c8b3ca851ba Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 3 Aug 2016 07:24:16 -0700 Subject: [PATCH] oops: don't show upgrade changelist on every boot --- .../src/org/eehouse/android/xw4/GamesListDelegate.java | 6 +++++- 1 file changed, 5 insertions(+), 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 07350de28..d3b674644 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java @@ -948,7 +948,7 @@ public class GamesListDelegate extends ListDelegateBase DBUtils.setDBChangeListener( this ); boolean isUpgrade = Utils.firstBootThisVersion( m_activity ); - if ( true || isUpgrade ) { + if ( isUpgrade ) { if ( !s_firstShown ) { if ( LocUtils.getCurLangCode( m_activity ).equals( "en" ) ) { FirstRunDialog.show( m_activity ); @@ -956,6 +956,10 @@ public class GamesListDelegate extends ListDelegateBase s_firstShown = true; } + } + + // Combine with above when "true" removed + if ( true || isUpgrade ) { if ( !XWPrefs.getPrefsBoolean( m_activity, R.string.key_enable_dualpane, false ) && XWPrefs.getIsTablet( m_activity ) ) {