default nbs_port to 0

Shouldn't be referenced at all on GPlay builds, but that's more work
This commit is contained in:
Eric House 2022-12-05 13:54:49 -08:00
parent 93db9f5add
commit f72a6c1b88
2 changed files with 1 additions and 5 deletions

View file

@ -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"

View file

@ -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 );