Force Settings to align locales of embedded activities
Android 13 introduces the feature of per-app language that allows users to set a preferred language for each app. However, Settings embeds many activities from different apps, which may cause multiple languages to be displayed on one Settings page. Enable TaskLocaleOverride to align the locales of activities launched in the same task. Bug: 199277729 Test: Verified on Cuttlefish Change-Id: I9ee2b8c481f9c0cb5f17eb1cea037317df35e9d9
This commit is contained in:
@@ -241,6 +241,8 @@ public class SettingsHomepageActivity extends FragmentActivity implements
|
||||
|
||||
updateHomepagePaddings();
|
||||
updateSplitLayout();
|
||||
|
||||
enableTaskLocaleOverride();
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
Reference in New Issue
Block a user