Merge "Skip recreating the nav bar when locale changes" into sc-dev am: bd62d13f49

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14684131

Change-Id: I8f656b80d2e479906dfc87e4cdce3c119ff9b504
This commit is contained in:
Winson Chung
2021-05-26 18:20:28 +00:00
committed by Automerger Merge Worker

View File

@@ -123,8 +123,7 @@ public class NavigationBarController implements Callbacks,
// Tracks config changes that will actually recreate the nav bar
private final InterestingConfigChanges mConfigChanges = new InterestingConfigChanges(
ActivityInfo.CONFIG_FONT_SCALE | ActivityInfo.CONFIG_LOCALE
| ActivityInfo.CONFIG_SCREEN_LAYOUT
ActivityInfo.CONFIG_FONT_SCALE | ActivityInfo.CONFIG_SCREEN_LAYOUT
| ActivityInfo.CONFIG_UI_MODE);
@Inject