SetupWizard : Switch to mcc/mnc locale
Also ensure we only send stats event once and only if the user actually changed the locale. CYNGNOS-1521 CYNGNOS-1326 Change-Id: I7b0451137e6bf80bf71350da28fe391fc8c52ce8
This commit is contained in:
@@ -89,6 +89,7 @@ public class CMSetupWizardData extends AbstractSetupData {
|
||||
showHideDataSimPage();
|
||||
showHideSimMissingPage();
|
||||
showHideMobileDataPage();
|
||||
updateWelcomePage();
|
||||
} else if (intent.getAction()
|
||||
.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
|
||||
showHideMobileDataPage();
|
||||
@@ -160,6 +161,13 @@ public class CMSetupWizardData extends AbstractSetupData {
|
||||
}
|
||||
}
|
||||
|
||||
private void updateWelcomePage() {
|
||||
WelcomePage welcomePage = (WelcomePage) getPage(WelcomePage.TAG);
|
||||
if (welcomePage != null) {
|
||||
welcomePage.simChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public IntentFilter getIntentFilter() {
|
||||
IntentFilter filter = new IntentFilter();
|
||||
if (SetupWizardUtils.hasTelephony(mContext)) {
|
||||
|
Reference in New Issue
Block a user