[android-components](../../index.md) / [mozilla.components.support.locale](../index.md) / [LocaleAwareAppCompatActivity](index.md) / [attachBaseContext](./attach-base-context.md)

# attachBaseContext

`protected open fun attachBaseContext(base: <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/support/locale/src/main/java/mozilla/components/support/locale/LocaleAwareAppCompatActivity.kt#L14)