[android-components](../../index.md) / [mozilla.components.feature.privatemode.notification](../index.md) / [AbstractPrivateNotificationService](index.md) / [onTaskRemoved](./on-task-removed.md)

# onTaskRemoved

`fun onTaskRemoved(rootIntent: <ERROR CLASS>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/privatemode/src/main/java/mozilla/components/feature/privatemode/notification/AbstractPrivateNotificationService.kt#L117)