Don't show call conference button when calling voicemail

This commit is contained in:
Juha Heinanen
2026-01-26 05:59:11 +02:00
parent eb749a74f0
commit cd68139aa3
2 changed files with 3 additions and 3 deletions

View File

@ -2498,9 +2498,11 @@ fun handleIntent(ctx: Context, viewModel: ViewModel, intent: Intent, action: Str
}
viewModel.dialerState.callUri.value = intent.getStringExtra("peer")!!
spinToAor(viewModel, ua.account.aor)
if (ev[0] == "call")
if (ev[0] == "call") {
viewModel.dialerState.showCallConferenceButton.value = false
callClick(ctx, viewModel, viewModel.dialerState)
}
}
"call show", "call answer" -> {
val callp = intent.getLongExtra("callp", 0L)
val call = Call.ofCallp(callp)

View File

@ -8,5 +8,3 @@ android.r8.strictFullModeForKeepRules=false
android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false
kotlin.code.style=official
org.gradle.jvmargs=-Xmx2G -Dfile.encoding=UTF-8