Renames UpdateNotification to Update Notification

This commit is contained in:
Juha Heinanen
2023-03-25 13:18:31 +02:00
parent 01ac8f06d3
commit a4034fca61
2 changed files with 6 additions and 2 deletions

View File

@ -516,7 +516,7 @@ class BaresipService: Service() {
nm.cancel(MESSAGE_NOTIFICATION_ID)
}
"UpdateNotification" -> {
"Update Notification" -> {
updateStatusNotification()
}
@ -528,6 +528,10 @@ class BaresipService: Service() {
}
}
else -> {
Log.e(TAG, "Unknown start action $action")
}
}
return START_STICKY

View File

@ -239,7 +239,7 @@ class MainActivity : AppCompatActivity() {
if (aorSpinner.tag != "")
updateIcons(Account.ofAor(aorSpinner.tag.toString())!!)
if (BaresipService.isServiceRunning) {
baresipService.action = "UpdateNotification"
baresipService.action = "Update Notification"
startService(baresipService)
}
}