From 60b42d4cea7e8affb4bd05a2c1f149db44f1b4bc Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Thu, 2 Aug 2018 15:30:33 +0300 Subject: [PATCH] notify uaAdapter also when baresip is not visible --- app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt index 061015a4..5c2c4a77 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt @@ -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