更新 'app/src/main/java/org/linphone/core/CorePreferences.kt'

main
zhongjin 2 years ago
parent 073e666689
commit cab3fce5a8

@ -108,7 +108,7 @@ class CorePreferences constructor(private val context: Context) {
} }
var logcatLogsOutput: Boolean var logcatLogsOutput: Boolean
get() = config.getBool("app", "print_logs_into_logcat", true) get() = config.getBool("app", "print_logs_into_logcat", false)
set(value) { set(value) {
config.setBool("app", "print_logs_into_logcat", value) config.setBool("app", "print_logs_into_logcat", value)
} }
@ -120,7 +120,7 @@ class CorePreferences constructor(private val context: Context) {
} }
var keepServiceAlive: Boolean var keepServiceAlive: Boolean
get() = config.getBool("app", "keep_service_alive", false) get() = config.getBool("app", "keep_service_alive", true)
set(value) { set(value) {
config.setBool("app", "keep_service_alive", value) config.setBool("app", "keep_service_alive", value)
} }

Loading…
Cancel
Save