notify uaAdapter also when baresip is not visible

This commit is contained in:
Juha Heinanen
2018-08-02 15:30:33 +03:00
parent cabb0d43e8
commit 60b42d4cea

View File

@ -258,17 +258,14 @@ class BaresipService: Service() {
else
MainActivity.images[account_index] = R.drawable.dot_green
updateStatusNotification()
if (!Utils.isVisible()) return
}
"registering failed" -> {
MainActivity.images[account_index] = R.drawable.dot_red
updateStatusNotification()
if (!Utils.isVisible()) return
}
"unregistering" -> {
MainActivity.images[account_index] = R.drawable.dot_yellow
updateStatusNotification()
if (!Utils.isVisible()) return
}
"call ringing" -> {
return