remove one-release-only explanation

Stuff explaining change only makes sense the first release after it's
added. So remove.
This commit is contained in:
Eric House 2017-05-03 06:53:39 -07:00
parent c6d3870365
commit 14dd3b4950
3 changed files with 0 additions and 35 deletions

View file

@ -610,7 +610,6 @@ public class BoardDelegate extends DelegateBase
{ {
super.onResume(); super.onResume();
doResume( false ); doResume( false );
checkAddDualpaneExpl();
} }
protected void onPause() protected void onPause()
@ -2815,29 +2814,4 @@ public class BoardDelegate extends DelegateBase
m_jniThread.handle( cmd, args ); m_jniThread.handle( cmd, args );
} }
} }
// 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;
// Am I a tablet AND is that because my size says so rather than
// my having overridden it
if ( XWPrefs.getIsTablet( m_activity )
&& getString(R.string.force_tablet_default)
.equals(XWPrefs.getPrefsString(m_activity,
R.string.key_force_tablet))
&& !Utils.onFirstVersion(m_activity ) ) {
makeNotAgainBuilder( R.string.invite_dualpane,
R.string.key_notagain_dualpane )
.setActionPair(new ActionPair(Action.DISABLE_DUALPANE,
R.string.disable_dualpane))
.show();
}
}
}
} // class BoardDelegate } // class BoardDelegate

View file

@ -92,7 +92,6 @@
<string name="key_notagain_sync">key_notagain_sync</string> <string name="key_notagain_sync">key_notagain_sync</string>
<!-- <string name="key_notagain_sms_ready">key_notagain_sms_ready</string> --> <!-- <string name="key_notagain_sms_ready">key_notagain_sms_ready</string> -->
<string name="key_notagain_newselect">key_notagain_newselect</string> <string name="key_notagain_newselect">key_notagain_newselect</string>
<string name="key_notagain_dualpane">key_notagain_dualpane</string>
<string name="key_notagain_backclears">key_notagain_backclears</string> <string name="key_notagain_backclears">key_notagain_backclears</string>
<string name="key_notagain_chat">key_notagain_chat</string> <string name="key_notagain_chat">key_notagain_chat</string>
<string name="key_notagain_relay">key_notagain_relay</string> <string name="key_notagain_relay">key_notagain_relay</string>

View file

@ -2609,14 +2609,6 @@
<string name="no_invites">This game has sent no invitations</string> <string name="no_invites">This game has sent no invitations</string>
<string name="invite_dualpane">This new version of CrossWords lets
larger-screened devices like yours view two panes (e.g. Games List
and Board) side-by-side. You\'ll notice this when your device is
horizontal; when it\'s vertical there\'s no change.\n\n
I hope you like it. If you don\'t you can disable it below or in the
Appearance section of App Settings.</string>
<string name="disable_dualpane">Disable side-by-side</string> <string name="disable_dualpane">Disable side-by-side</string>
<string name="after_restart">This change will take effect after you <string name="after_restart">This change will take effect after you
restart CrossWords.</string> restart CrossWords.</string>