add a hint for when scan shows nothing

This commit is contained in:
Eric House 2018-12-15 07:20:29 -08:00
parent e3f862a6eb
commit 67fa27069a
3 changed files with 11 additions and 1 deletions

View file

@ -152,6 +152,10 @@ public class BTInviteDelegate extends InviteDelegate {
m_pairs = null;
if ( 0 < btNames.length ) {
m_pairs = TwoStringPair.make( btNames, btAddrs );
} else {
makeNotAgainBuilder( R.string.not_again_emptybtscan,
R.string.key_notagain_emptybtscan )
.show();
}
updateListAdapter( m_pairs );

View file

@ -92,8 +92,8 @@
<string name="key_udp_interval">key_udp_interval</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_newselect">key_notagain_newselect</string>
<string name="key_notagain_emptybtscan">key_notagain_emptybtscan</string>
<string name="key_notagain_backclears">key_notagain_backclears</string>
<string name="key_notagain_chat">key_notagain_chat</string>
<string name="key_notagain_relay">key_notagain_relay</string>

View file

@ -2732,4 +2732,10 @@
<string name="foreground_channel_expl">Accepting Bluetooth in background</string>
<!-- Explanation in settings for traditional move-arrived notification -->
<string name="gameevent_channel_expl">In-game events</string>
<string name="not_again_emptybtscan">If a scan doesn\'t find the device you expect:\n
• First, just try again\n
• Make sure Bluetooth is on on the other device\n
• Launch CrossWords on the other device\n
</string>
</resources>