Reputation: 1653
In Android 13, is there a way to open the new App info language settings using an intent in the app itself?
Thanks
Upvotes: 2
Views: 577
Reputation: 1653
Solved, do something like this:
val intent = Intent(Settings.ACTION_APP_LOCALE_SETTINGS)
intent.data = Uri.fromParts("package", activity.packageName, null)
activity.startActivity(intent)
Read more here: https://developer.android.com/reference/android/provider/Settings#ACTION_APP_LOCALE_SETTINGS
Upvotes: 5