summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-01-30 16:45:19 -0300
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-01-30 16:45:19 -0300
commite4cf31a509d43c90ba35ea9281ce35d62190f7d1 (patch)
treefccc9b7623932abe30503bfc55d54216026fbd79 /android
parent35b92d42ff83deeb7b95b276df03af5af67b130e (diff)
parent733412643f009f17929e2cc81d186d80c4759cde (diff)
downloadmullvadvpn-e4cf31a509d43c90ba35ea9281ce35d62190f7d1.tar.xz
mullvadvpn-e4cf31a509d43c90ba35ea9281ce35d62190f7d1.zip
Merge branch 'fix-notification-dismissal'
Diffstat (limited to 'android')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt2
1 files changed, 2 insertions, 0 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 a04af6d8a8..29c6681cd1 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/ForegroundNotificationManager.kt
@@ -169,6 +169,8 @@ class ForegroundNotificationManager(val service: Service, val connectionProxy: C
stopForeground(true)
}
+
+ notificationManager.cancel(FOREGROUND_NOTIFICATION_ID)
}
private fun initChannel() {