From c77478073044524fec09ec9b79a96bc05e9a5a78 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 10 Apr 2017 06:54:38 -0700 Subject: [PATCH] don't display info about disabling when disabled --- .../src/main/java/org/eehouse/android/xw4/BoardDelegate.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java index 32bd6af0c..a02beae0b 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java @@ -2813,12 +2813,16 @@ public class BoardDelegate extends DelegateBase // If I'm upgrading and running this for the first time show an // explanation about the new dualpane feature + // + // TODO remove a few weeks after shipping a version that includes it private static boolean s_dpShown = false; private void checkAddDualpaneExpl() { if ( !s_dpShown ) { s_dpShown = true; if ( XWPrefs.getIsTablet( m_activity ) + && !XWPrefs.getPrefsBoolean( m_activity, R.string + .key_disable_dualpane, false ) && !Utils.onFirstVersion(m_activity ) ) { makeNotAgainBuilder( R.string.invite_dualpane, R.string.key_notagain_dualpane )