[android-components](../../index.md) / [mozilla.components.lib.crash.prompt](../index.md) / [CrashReporterActivity](index.md) / [onCreate](./on-create.md)

# onCreate

`protected fun onCreate(savedInstanceState: <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/lib/crash/src/main/java/mozilla/components/lib/crash/prompt/CrashReporterActivity.kt#L46)