Fixed two typos

This commit is contained in:
Juha Heinanen
2026-05-19 19:32:40 +03:00
parent ed726ffe6a
commit bd49f31df6

View File

@ -457,6 +457,7 @@ class BaresipService: Service() {
if (!file.exists() && a != "config") { if (!file.exists() && a != "config") {
Log.i(TAG, "Copying asset '$a'") Log.i(TAG, "Copying asset '$a'")
Utils.copyAssetToFile(this, a, "$filesPath/$a") Utils.copyAssetToFile(this, a, "$filesPath/$a")
}
else else
Log.i(TAG, "Asset '$a' already copied") Log.i(TAG, "Asset '$a' already copied")
if (a == "config") if (a == "config")
@ -915,7 +916,7 @@ class BaresipService: Service() {
) )
else if (ua.account.blockUnknown && Contact.contactName(peerUri) == peerUri) else if (ua.account.blockUnknown && Contact.contactName(peerUri) == peerUri)
String.format( String.format(
getString(R.string.call_blocked), getString(R.string.call_blocked),
Utils.friendlyUri(this, peerUri, ua.account) Utils.friendlyUri(this, peerUri, ua.account)
) )
else if (!Utils.checkPermissions(this, arrayOf(RECORD_AUDIO))) else if (!Utils.checkPermissions(this, arrayOf(RECORD_AUDIO)))
@ -1223,6 +1224,7 @@ class BaresipService: Service() {
"Could not delete temporary raw files after merge: ${e.message}" "Could not delete temporary raw files after merge: ${e.message}"
) )
} }
}
else { else {
Log.e( Log.e(
TAG, TAG,