Verified Commit d419843f authored by Matthew Finkel's avatar Matthew Finkel Committed by Pier Angelo Vendrame
Browse files

Bug 40023: [android] Stop PrivateNotificationService

parent ead1c835
Loading
Loading
Loading
Loading
+1 −0
Changes for mobile/android/android-components/components/feature/privatemode/src/main/java/mozilla/components/feature/privatemode/notification/PrivateNotificationFeature.kt: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ class PrivateNotificationFeature<T : AbstractPrivateNotificationService>(
    }

    override fun stop() {
        applicationContext.stopService(Intent(applicationContext, notificationServiceClass.java))
        scope?.cancel()
    }
}