change string and enum name to indicate Bluetooth is where the connect

failure is.
This commit is contained in:
Eric House 2016-05-21 14:35:53 -07:00
parent f001455589
commit f8cfb9cc44
4 changed files with 7 additions and 6 deletions

View file

@ -2415,9 +2415,10 @@
devices. Would you like to open the Android Settings Panel to add
one or more?\n\n(You may also need to open it on the device you
want to pair with.)</string>
<string name="app_not_found_fmt">Unable to connect to Crosswords
on the device %1$s. Please check that the device is within range
and that Crosswords is installed on it.</string>
<string name="app_not_found_fmt">Unable to connect via Bluetooth
to Crosswords on the device %1$s. Please check that the device is
within Bluetooth range and that Crosswords is installed on
it.</string>
<!-- label within default wordlists in app preferences -->
<string name="default_language">Default language</string>

View file

@ -828,7 +828,7 @@ public class BTService extends XWService {
}
if ( null == reply ) {
sendResult( MultiEvent.APP_NOT_FOUND, dev.getName() );
sendResult( MultiEvent.APP_NOT_FOUND_BT, dev.getName() );
} else {
switch ( reply ) {
case BAD_PROTO:

View file

@ -597,7 +597,7 @@ public class DelegateBase implements DlgClickNotify,
case BAD_PROTO_SMS:
fmtId = R.string.sms_bad_proto_fmt;
break;
case APP_NOT_FOUND:
case APP_NOT_FOUND_BT:
fmtId = R.string.app_not_found_fmt;
break;
case RELAY_ALERT:

View file

@ -61,7 +61,7 @@ public class MultiService {
public enum MultiEvent { _INVALID,
BAD_PROTO_BT,
BAD_PROTO_SMS,
APP_NOT_FOUND,
APP_NOT_FOUND_BT,
BT_ENABLED,
BT_DISABLED,
SCAN_DONE,