diff --git a/app/src/main/java/net/christianbeier/droidvnc_ng/MainService.java b/app/src/main/java/net/christianbeier/droidvnc_ng/MainService.java index 4f5bcf32..de538a2e 100644 --- a/app/src/main/java/net/christianbeier/droidvnc_ng/MainService.java +++ b/app/src/main/java/net/christianbeier/droidvnc_ng/MainService.java @@ -189,7 +189,7 @@ public void onCreate() { if (!vncStartServer(displayMetrics.widthPixels, displayMetrics.heightPixels, - prefs.getInt(Constants.PREFS_KEY_SETTINGS_PORT, 5900), + prefs.getInt(Constants.PREFS_KEY_SETTINGS_PORT, mDefaults.getPort()), Settings.Secure.getString(getContentResolver(), "bluetooth_name"), prefs.getString(Constants.PREFS_KEY_SETTINGS_PASSWORD, mDefaults.getPassword()))) stopSelf();