[tbb-commits] [Git][tpo/applications/android-components][android-components-60.0.3-10.0-1] Bug 40023: Stop PrivateNotificationService

Matthew Finkel gitlab at torproject.org
Fri Oct 23 13:46:58 UTC 2020



Matthew Finkel pushed to branch android-components-60.0.3-10.0-1 at The Tor Project / Applications / android-components


Commits:
2ca9d997 by Matthew Finkel at 2020-10-22T21:55:11+00:00
Bug 40023: Stop PrivateNotificationService

- - - - -


1 changed file:

- components/feature/privatemode/src/main/java/mozilla/components/feature/privatemode/notification/PrivateNotificationFeature.kt


Changes:

=====================================
components/feature/privatemode/src/main/java/mozilla/components/feature/privatemode/notification/PrivateNotificationFeature.kt
=====================================
@@ -47,6 +47,7 @@ class PrivateNotificationFeature<T : AbstractPrivateNotificationService>(
     }
 
     override fun stop() {
+        applicationContext.stopService(Intent(applicationContext, notificationServiceClass.java))
         scope?.cancel()
     }
 }



View it on GitLab: https://gitlab.torproject.org/tpo/applications/android-components/-/commit/2ca9d9972756388954e27bf40999c3b1038c0984

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/android-components/-/commit/2ca9d9972756388954e27bf40999c3b1038c0984
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20201023/cca7704d/attachment.htm>


More information about the tbb-commits mailing list