Dovydas
04/05/2025, 7:04 PMDovydas
04/05/2025, 7:04 PMactual fun openLanguageSettings(localUriHandler: UriHandler) {
val packageName = "..."
val intent = Intent(Settings.ACTION_APP_LOCALE_SETTINGS)
intent.data = "package:$packageName".toUri()
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
context.startActivity(intent)
}
marlonlom
04/05/2025, 7:54 PMDovydas
04/05/2025, 9:36 PMonConfigurationChanged
does get called when I change the language in the settings and the newConfig contains the new locale. As far as I understand that should recreate the activity with the new locale, but it doesn't.marlonlom
04/05/2025, 9:43 PMDovydas
04/05/2025, 9:49 PMChrimaeon
04/06/2025, 1:53 AMDovydas
04/06/2025, 12:00 PMwalid
04/09/2025, 11:26 AMChrimaeon
04/09/2025, 11:36 AM