[android-components](../../index.md) / [mozilla.components.feature.addons.ui](../index.md) / [PermissionsDialogFragment](index.md) / [onDismiss](./on-dismiss.md)

# onDismiss

`fun onDismiss(dialog: <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/addons/src/main/java/mozilla/components/feature/addons/ui/PermissionsDialogFragment.kt#L108)