show known player's bt mac addr for non-release

This commit is contained in:
Eric House 2020-11-02 09:23:31 -08:00
parent a0e31d8db8
commit c9ce2dda21
2 changed files with 4 additions and 0 deletions

View file

@ -186,6 +186,9 @@ public class KnownPlayersDelegate extends DelegateBase {
ViewGroup list = (ViewGroup)item.findViewById( R.id.items ); ViewGroup list = (ViewGroup)item.findViewById( R.id.items );
if ( conTypes.contains( CommsAddrRec.CommsConnType.COMMS_CONN_BT ) ) { if ( conTypes.contains( CommsAddrRec.CommsConnType.COMMS_CONN_BT ) ) {
addListing( list, R.string.knowns_bt_fmt, addr.bt_hostName ); addListing( list, R.string.knowns_bt_fmt, addr.bt_hostName );
if ( BuildConfig.NON_RELEASE ) {
addListing( list, R.string.knowns_bta_fmt, addr.bt_btAddr );
}
} }
if ( conTypes.contains( CommsAddrRec.CommsConnType.COMMS_CONN_SMS ) ) { if ( conTypes.contains( CommsAddrRec.CommsConnType.COMMS_CONN_SMS ) ) {
addListing( list, R.string.knowns_smsphone_fmt, addr.sms_phone ); addListing( list, R.string.knowns_smsphone_fmt, addr.sms_phone );

View file

@ -2643,6 +2643,7 @@
<string name="knowns_mqtt_fmt">MQTT DevID: %1$s</string> <string name="knowns_mqtt_fmt">MQTT DevID: %1$s</string>
<string name="knowns_bt_fmt">Bluetooth name: %1$s</string> <string name="knowns_bt_fmt">Bluetooth name: %1$s</string>
<string name="knowns_bta_fmt">Bluetooth addr: %1$s</string>
<string name="knowns_smsphone_fmt">SMS Phone: %1$s</string> <string name="knowns_smsphone_fmt">SMS Phone: %1$s</string>
<!-- Button in known player list element allowing to edit player's name --> <!-- Button in known player list element allowing to edit player's name -->