diff --git a/xwords4/android/app/build.gradle b/xwords4/android/app/build.gradle index b8d5c980b..93215b070 100644 --- a/xwords4/android/app/build.gradle +++ b/xwords4/android/app/build.gradle @@ -135,6 +135,7 @@ android { buildConfigField "boolean", "LOCUTILS_ENABLED", "false" buildConfigField "String", "LAST_COMMIT_FILE", "\"$LAST_COMMIT_FILE\"" buildConfigField "int", "BAD_COUNT", "2" + resValue "string", "nbs_port", "0" } xw4GPlay { @@ -192,7 +193,6 @@ android { applicationId "org.eehouse.android.xw4dbg" buildConfigField "String", "DB_NAME", "\"xwddb\"" resValue "string", "app_name", "CrossDbg" - resValue "string", "nbs_port", "3345" resValue "string", "invite_prefix", "/andd/" resValue "string", "conf_prefix", "/cnfd/" resValue "string", "newgame_scheme", "newxwgamed" diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWApp.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWApp.java index a883884b3..e91d42978 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWApp.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWApp.java @@ -56,8 +56,6 @@ public class XWApp extends Application private static Boolean s_onEmulator = null; private static Context s_context = null; - private short mPort; - @Override public void onCreate() { @@ -91,8 +89,6 @@ public class XWApp extends Application WiDirWrapper.init( this ); - mPort = Short.valueOf( getString( R.string.nbs_port ) ); - DupeModeTimer.init( this ); MQTTUtils.init( this );