Set record aware setting hidden & enabled by default

This commit is contained in:
Sylvain Berfini 2022-06-08 13:18:34 +02:00
parent 3172b27b98
commit 5502324845
3 changed files with 8 additions and 1 deletions

View file

@ -22,6 +22,7 @@ size=vga
[app]
tunnel=disabled
auto_start=1
record_aware=1
[tunnel]
host=

View file

@ -388,6 +388,11 @@ class CoreContext(
core.config.setInt("misc", "conference_layout", 1)
}
if (!core.config.getBool("app", "conference_migration", false)) {
core.isRecordAwareEnabled = true
core.config.setBool("app", "conference_migration", true)
}
initUserCertificates()
computeUserAgent()

View file

@ -148,7 +148,8 @@
layout="@layout/settings_widget_switch"
linphone:title="@{@string/call_settings_remote_recording_title}"
linphone:listener="@{viewModel.remoteCallRecordingListener}"
linphone:checked="@={viewModel.remoteCallRecording}"/>
linphone:checked="@={viewModel.remoteCallRecording}"
android:visibility="gone"/>
<include
layout="@layout/settings_widget_switch"