DO NOT MERGE Only refresh car notif on language change

Refreshing all of status bar causes issues with some listeners being
triggered before it is ready to be called.

Bug: 145946470
Bug: 146163621
Bug: 146521766
Test: manual (flash + change language + watch logcat for sysui crash)
Change-Id: If9b2d0fd81698aba21ed3d5708ac68d09bdba0a7
This commit is contained in:
Heemin Seog
2019-12-19 13:36:12 -08:00
parent 248a73969f
commit 096c7b8ad3

View File

@@ -1343,9 +1343,8 @@ public class CarStatusBar extends StatusBar implements CarBatteryController.Batt
@Override
public void onLocaleListChanged() {
// TODO - We should not have to reload sysUI on locale change
// Passing null since result is only needed to notify the IME window of current state
makeStatusBarView(/* result= */ null);
restartNavBars();
connectNotificationsUI();
}
/**