summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-11-24 16:33:46 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-11-24 16:43:09 +0000
commit5aaf1949061e0866d8f0fdbeb6757fb8d9f6ea63 (patch)
tree4d3113a3e76d39b70c3a2dc2f6b0f9ab2035234f /android
parent0aa4cbeb10fa3024d6b13a1960730ba261b37bad (diff)
downloadmullvadvpn-5aaf1949061e0866d8f0fdbeb6757fb8d9f6ea63.tar.xz
mullvadvpn-5aaf1949061e0866d8f0fdbeb6757fb8d9f6ea63.zip
Don't delay updating the notification
Diffstat (limited to 'android')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt
index d8786d1196..9d34d81a97 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt
@@ -111,7 +111,7 @@ class ForegroundNotificationManager(
showOnForeground()
// Restore the notification to its correct state.
- updater.sendBlocking(UpdaterMessage.UpdateNotification())
+ updateNotification()
}
private fun runUpdater() = GlobalScope.actor<UpdaterMessage>(