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

TB 40023: [android] Stop PrivateNotificationService

parent d4a7f7d1
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()
    }
}