diff --git a/xwords4/android/XWords4/res/layout/role_edit_relay.xml b/xwords4/android/XWords4/res/layout/role_edit_relay.xml index f00403a28..8c291dad0 100644 --- a/xwords4/android/XWords4/res/layout/role_edit_relay.xml +++ b/xwords4/android/XWords4/res/layout/role_edit_relay.xml @@ -31,48 +31,5 @@ android:textAppearance="?android:attr/textAppearanceMedium" /> - - - - - - - - diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 8c2c86dd6..f59c390b2 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -193,10 +193,8 @@ Dictionaries Room - Hostname Host phone number Bluetooth support coming soon.... - Port Connection Preferences diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfig.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfig.java index 6e1dc0de8..3d1425b04 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfig.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfig.java @@ -265,9 +265,6 @@ public class GameConfig extends Activity implements View.OnClickListener { switch( m_types[m_connectSpinner.getSelectedItemPosition()] ) { case COMMS_CONN_RELAY: Utils.setText( m_curDialog, R.id.room_edit, m_car.ip_relay_invite ); - Utils.setText( m_curDialog, R.id.hostname_edit, - m_car.ip_relay_hostName ); - Utils.setInt( m_curDialog, R.id.port_edit, m_car.ip_relay_port ); break; case COMMS_CONN_SMS: Utils.setText( m_curDialog, R.id.sms_phone_edit, m_car.sms_phone ); @@ -284,9 +281,6 @@ public class GameConfig extends Activity implements View.OnClickListener { switch ( m_car.conType ) { case COMMS_CONN_RELAY: m_car.ip_relay_invite = Utils.getText( m_curDialog, R.id.room_edit ); - m_car.ip_relay_hostName = Utils.getText( m_curDialog, - R.id.hostname_edit ); - m_car.ip_relay_port = Utils.getInt( m_curDialog, R.id.port_edit ); break; case COMMS_CONN_SMS: m_car.sms_phone = Utils.getText( m_curDialog, R.id.sms_phone_edit );