notify uaAdapter also when baresip is not visible
This commit is contained in:
@@ -258,17 +258,14 @@ class BaresipService: Service() {
|
|||||||
else
|
else
|
||||||
MainActivity.images[account_index] = R.drawable.dot_green
|
MainActivity.images[account_index] = R.drawable.dot_green
|
||||||
updateStatusNotification()
|
updateStatusNotification()
|
||||||
if (!Utils.isVisible()) return
|
|
||||||
}
|
}
|
||||||
"registering failed" -> {
|
"registering failed" -> {
|
||||||
MainActivity.images[account_index] = R.drawable.dot_red
|
MainActivity.images[account_index] = R.drawable.dot_red
|
||||||
updateStatusNotification()
|
updateStatusNotification()
|
||||||
if (!Utils.isVisible()) return
|
|
||||||
}
|
}
|
||||||
"unregistering" -> {
|
"unregistering" -> {
|
||||||
MainActivity.images[account_index] = R.drawable.dot_yellow
|
MainActivity.images[account_index] = R.drawable.dot_yellow
|
||||||
updateStatusNotification()
|
updateStatusNotification()
|
||||||
if (!Utils.isVisible()) return
|
|
||||||
}
|
}
|
||||||
"call ringing" -> {
|
"call ringing" -> {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user