am 43d88d9a: am 63138aed: am 9dc0cc00: am f18ed45f: Merge "Fix to work statusbar configs as mcc/mnc" into mnc-dev
* commit '43d88d9a659bd9984eb899379d0c9eac245fc6df': Fix to work statusbar configs as mcc/mnc
This commit is contained in:
@@ -2914,6 +2914,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
||||
updateRowStates();
|
||||
mIconController.updateResources();
|
||||
mScreenPinningRequest.onConfigurationChanged();
|
||||
mNetworkController.handleConfigurationChanged();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -340,7 +340,6 @@ public class NetworkControllerImpl extends BroadcastReceiver
|
||||
action.equals(ConnectivityManager.INET_CONDITION_ACTION)) {
|
||||
updateConnectivity();
|
||||
} else if (action.equals(Intent.ACTION_CONFIGURATION_CHANGED)) {
|
||||
mConfig = Config.readConfig(mContext);
|
||||
handleConfigurationChanged();
|
||||
} else if (action.equals(Intent.ACTION_AIRPLANE_MODE_CHANGED)) {
|
||||
refreshLocale();
|
||||
@@ -374,8 +373,8 @@ public class NetworkControllerImpl extends BroadcastReceiver
|
||||
}
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
void handleConfigurationChanged() {
|
||||
public void handleConfigurationChanged() {
|
||||
mConfig = Config.readConfig(mContext);
|
||||
for (MobileSignalController mobileSignalController : mMobileSignalControllers.values()) {
|
||||
mobileSignalController.setConfiguration(mConfig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user