private void checkLocaleChange ( Context context ) { if ( ! isCurrentLanguageSetting ( context , currentLanguage ) ) { sendOnBeforeLocaleChangedEvent ( ) ; isLocalizationChanged = true ; callDummyActivity ( ) ; activity . recreate ( ) ; } }
Check if locale has change while this activity was run to back stack .