summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt4
1 files changed, 2 insertions, 2 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 9d34d81a97..a5d05628b2 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt
@@ -101,6 +101,8 @@ class ForegroundNotificationManager(
service.unregisterReceiver(deviceLockListener)
updater.close()
+
+ tunnelStateNotification.visible = false
}
fun acknowledgeStartForegroundService() {
@@ -128,8 +130,6 @@ class ForegroundNotificationManager(
}
}
}
-
- tunnelStateNotification.visible = false
}
private fun showOnForeground() {