load android custom client for jvm startServer

This commit is contained in:
rustdesk
2024-04-16 21:46:54 +08:00
parent b9792fc17d
commit 01ec539065
3 changed files with 6 additions and 4 deletions

View File

@@ -207,7 +207,7 @@ class MainService : Service() {
// keep the config dir same with flutter
val prefs = applicationContext.getSharedPreferences(KEY_SHARED_PREFERENCES, FlutterActivity.MODE_PRIVATE)
val configPath = prefs.getString(KEY_APP_DIR_CONFIG_PATH, "") ?: ""
FFI.startServer(configPath)
FFI.startServer(configPath, "")
createForegroundNotification()
}