Renames UpdateNotification to Update Notification
This commit is contained in:
@@ -516,7 +516,7 @@ class BaresipService: Service() {
|
|||||||
nm.cancel(MESSAGE_NOTIFICATION_ID)
|
nm.cancel(MESSAGE_NOTIFICATION_ID)
|
||||||
}
|
}
|
||||||
|
|
||||||
"UpdateNotification" -> {
|
"Update Notification" -> {
|
||||||
updateStatusNotification()
|
updateStatusNotification()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -528,6 +528,10 @@ class BaresipService: Service() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else -> {
|
||||||
|
Log.e(TAG, "Unknown start action $action")
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return START_STICKY
|
return START_STICKY
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
if (aorSpinner.tag != "")
|
if (aorSpinner.tag != "")
|
||||||
updateIcons(Account.ofAor(aorSpinner.tag.toString())!!)
|
updateIcons(Account.ofAor(aorSpinner.tag.toString())!!)
|
||||||
if (BaresipService.isServiceRunning) {
|
if (BaresipService.isServiceRunning) {
|
||||||
baresipService.action = "UpdateNotification"
|
baresipService.action = "Update Notification"
|
||||||
startService(baresipService)
|
startService(baresipService)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user