When showing name of contact, add label when appropriate

This commit is contained in:
Juha Heinanen
2026-06-01 11:33:52 +03:00
parent dd40777f36
commit bd7766b2cc
7 changed files with 55 additions and 31 deletions
@@ -1953,8 +1953,10 @@ class BaresipService: Service() {
if (ua.account.blockUnknown && Contact.contactName(e164Uri) == e164Uri) {
Log.d(TAG, "Auto-rejecting incoming PSTN call from $uri")
telecomCall.disconnect()
toast(String.format(getString(R.string.call_blocked),
Utils.friendlyUri(this, uri, ua.account)))
toast(
String.format(getString(R.string.call_blocked),
Utils.friendlyUri(this, uri, ua.account))
)
if (ua.account.callHistory) {
Blocked(
ua.account.aor,