Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Decompiled by DJ v3.11.11.95 Copyright 2009 Atanas Neshkov Date: 8/15/2014 12:49:46 PM
- // Home Page: http://members.fortunecity.com/neshkov/dj.html http://www.neshkov.com/dj.html - Check often for new version!
- // Decompiler options: packimports(3)
- package com.android.providers.settings;
- import android.app.*;
- import android.app.backup.BackupManager;
- import android.content.*;
- import android.content.res.Configuration;
- import android.location.LocationManager;
- import android.media.AudioManager;
- import android.net.ConnectivityManager;
- import android.os.Bundle;
- import android.os.SystemProperties;
- import android.preference.PreferenceManager;
- import android.telephony.TelephonyManager;
- import android.text.TextUtils;
- import android.util.Log;
- import java.lang.reflect.Field;
- import java.text.Collator;
- import java.util.Locale;
- // Referenced classes of package com.android.providers.settings:
- // SettingsProviderParser
- public class SettingsProviderInitializer
- {
- private static class Loc
- implements Comparable
- {
- public int compareTo(Object obj)
- {
- return sCollator.compare(label, ((Loc)obj).label);
- }
- public String toString()
- {
- return label;
- }
- static Collator sCollator = Collator.getInstance();
- String label;
- Locale locale;
- public Loc(String s, Locale locale1)
- {
- label = s;
- locale = locale1;
- }
- }
- public SettingsProviderInitializer()
- {
- }
- private boolean applyDataEnabled(String s, String s1)
- {
- String s2 = SystemProperties.get("ro.build.target_country");
- if(s2.equals("EU") || s2.equals("AL") || s2.equals("AT") || s2.equals("BA") || s2.equals("BE") || s2.equals("BG") || s2.equals("CH") || s2.equals("CZ") || s2.equals("DE") || s2.equals("DK") || s2.equals("ES") || s2.equals("FC") || s2.equals("FI") || s2.equals("FR") || s2.equals("GB") || s2.equals("GL") || s2.equals("GR") || s2.equals("HR") || s2.equals("HU") || s2.equals("IE") || s2.equals("IS") || s2.equals("IT") || s2.equals("LU") || s2.equals("ME") || s2.equals("MK") || s2.equals("MT") || s2.equals("NL") || s2.equals("NO") || s2.equals("PL") || s2.equals("PT") || s2.equals("RE") || s2.equals("RO") || s2.equals("RS") || s2.equals("SE") || s2.equals("SI") || s2.equals("SK") || s1.equals("VDF") || s1.equals("ORG") || s1.equals("TMO") || s1.equals("SFR"))
- {
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("applyDataEnabled return true device/operator : ").append(s).append("/").append(s1).toString());
- return true;
- } else
- {
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("applyDataEnabled return false device/operator : ").append(s).append("/").append(s1).toString());
- return false;
- }
- }
- private void dataEnabledPopupStart(Context context)
- {
- context.sendBroadcast(new Intent("android.intent.action.SETTINGS.SIM_CHANGE_DATA_ENABLE_POPUP"));
- }
- private static String getDefaultCountryIso(Context context)
- {
- String s = ((TelephonyManager)context.getSystemService("phone")).getSimCountryIso();
- if(TextUtils.isEmpty(s))
- s = SystemProperties.get("ro.product.locale.defcountry", "AR");
- return s;
- }
- private static String getSimPrev_SIM_MCC(Context context)
- {
- return PreferenceManager.getDefaultSharedPreferences(context).getString("sim_mcc_value_key", null);
- }
- private void loadDefaultPropertySettings(SharedPreferences sharedpreferences)
- {
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [default_timezone] : ").append(sharedpreferences.getString("default_timezone", "null")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [sound_profile] : ").append(sharedpreferences.getString("sound_profile", "")).toString());
- isSkipDefaultLanguage = false;
- if(Present_MCC != null && !Present_MCC.equals("0") && !Present_MCC.equals("") && !Present_MCC.equals(Prev_SIM_MCC))
- {
- if(Present_MCC != null && Present_MCC.equals("204") && Prev_SIM_MCC != null && Prev_SIM_MCC.equals("214"))
- isSkipDefaultLanguage = true;
- if(Present_MCC != null && Present_MCC.equals("222") && Prev_SIM_MCC != null && Prev_SIM_MCC.equals("274"))
- isSkipDefaultLanguage = true;
- if(Present_MCC != null && Present_MCC.equals("240") && Prev_SIM_MCC != null && Prev_SIM_MCC.equals("204"))
- isSkipDefaultLanguage = true;
- }
- if(!isSkipDefaultLanguage) goto _L2; else goto _L1
- _L1:
- Log.d("SettingsProviderInitializer", "get [default_language] : - Skipped - NOVA dual IMSI patch!!");
- _L4:
- String s3 = sharedpreferences.getString("default_timezone", "Europe/London");
- if(s3 == null)
- break MISSING_BLOCK_LABEL_297;
- ((AlarmManager)mContext.getSystemService("alarm")).setTimeZone(s3);
- String s4;
- AudioManager audiomanager;
- s4 = sharedpreferences.getString("sound_profile", "");
- if(TextUtils.isEmpty(s4))
- break MISSING_BLOCK_LABEL_647;
- audiomanager = (AudioManager)mContext.getSystemService("audio");
- byte byte0 = 2;
- if(s4.contains("vibrate"))
- byte0 = 1;
- android.content.ContentResolver contentresolver;
- audiomanager.setVibrateSetting(0, byte0);
- audiomanager.setRingerMode(2);
- if(!SystemProperties.get("ro.build.target_region").equals("SCA"))
- break MISSING_BLOCK_LABEL_647;
- contentresolver = mContext.getContentResolver();
- Exception exception;
- IActivityManager iactivitymanager;
- Configuration configuration;
- Locale locale;
- int i;
- if(s4.contains("vibrate"))
- i = 1;
- else
- i = 0;
- try
- {
- android.provider.Settings.System.putInt(contentresolver, "vibrate_when_ringing", i);
- return;
- }
- catch(Exception exception1)
- {
- return;
- }
- _L2:
- if(android.provider.Settings.System.getInt(mContext.getContentResolver(), "user_set_locale") != 0) goto _L4; else goto _L3
- _L3:
- Log.d("SettingsProviderInitializer", "reWrite Provider : Set SystemProperty(Changed default language)");
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [default_language] : ").append(sharedpreferences.getString("default_language", "null")).toString());
- iactivitymanager = ActivityManagerNative.getDefault();
- configuration = iactivitymanager.getConfiguration();
- String s = sharedpreferences.getString("default_language", "en_GB");
- String s1 = s.substring(0, 2);
- String s2 = s.substring(3, 5);
- locale = new Locale(s1, s2);
- if(!"es".equalsIgnoreCase(s1) || !"LG".equalsIgnoreCase(s2))
- break MISSING_BLOCK_LABEL_625;
- locale = new Locale("es", getDefaultCountryIso(mContext));
- SystemProperties.set("persist.sys.cust.latamspanish", "1");
- _L5:
- configuration.setLocale((new Loc(toTitleCase(locale.getDisplayLanguage(locale)), locale)).locale);
- iactivitymanager.updateConfiguration(configuration);
- BackupManager.dataChanged("com.android.providers.settings");
- goto _L4
- SystemProperties.set("persist.sys.cust.latamspanish", "0");
- goto _L5
- exception;
- throw exception;
- }
- private void loadDefaultSecureSettings(SharedPreferences sharedpreferences)
- {
- Log.d("SettingsProviderInitializer", "reWrite Provider : Set Secure table");
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [MOBILE_DATA] : ").append(sharedpreferences.getString("mobile_data", "null")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [DATA_ROAMING] : ").append(sharedpreferences.getString("data_roaming", "null")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [LOCATION_PROVIDERS_ALLOWED] : ").append(sharedpreferences.getString("location_providers_allowed", "null")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [INSTALL_NON_MARKET] : ").append(sharedpreferences.getString("install_non_market_apps", "")).toString());
- String s = sharedpreferences.getString("mobile_data", "1");
- if(!applyDataEnabled(SystemProperties.get("ro.product.device"), SystemProperties.get("ro.build.target_operator"))) goto _L2; else goto _L1
- _L1:
- Log.e("SettingsProviderInitializer", "MOBILE_DATA do not apply");
- _L12:
- if(!s.equals("0")) goto _L4; else goto _L3
- _L3:
- android.provider.Settings.Global.putString(mContext.getContentResolver(), "data_roaming", sharedpreferences.getString("data_roaming", "0"));
- _L18:
- int i;
- String s1;
- i = android.provider.Settings.Secure.getInt(mContext.getContentResolver(), "location_mode");
- s1 = sharedpreferences.getString("location_providers_allowed", "0");
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("first LOCATION_PROVIDERS_ALLOWED(LOCATION_MODE) : ").append(i).toString());
- Log.d("SettingsProviderInitializer", "LOCATION_MODE : LOCATION_MODE_OFF = 0 / LOCATION_MODE_SENSORS_ONLY = 1 / LOCATION_MODE_BATTERY_SAVING = 2 / LOCATION_MODE_HIGH_ACCURACY = 3");
- if(i < 0 || i > 3) goto _L6; else goto _L5
- _L5:
- if(i != 0 && i != 1) goto _L8; else goto _L7
- _L7:
- if(!s1.equals("0")) goto _L10; else goto _L9
- _L9:
- Log.d("SettingsProviderInitializer", "set LOCATION_PROVIDERS_ALLOWED(LOCATION_MODE) : off");
- i = 0;
- _L19:
- android.content.SharedPreferences.Editor editor = sharedpreferences.edit();
- editor.putString("location_providers_allowed", Integer.toString(i));
- editor.commit();
- android.provider.Settings.Secure.putInt(mContext.getContentResolver(), "location_mode", Integer.parseInt(sharedpreferences.getString("location_providers_allowed", "1")));
- _L6:
- String s2 = sharedpreferences.getString("install_non_market_apps", "");
- if(!s2.isEmpty())
- {
- android.provider.Settings.Secure.putString(mContext.getContentResolver(), "install_non_market_apps", s2);
- return;
- }
- goto _L11
- _L2:
- int j;
- label0:
- {
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("SetupWizard DataEnable Status 2 : ").append(setupwizard_dataenable_status).toString());
- if(!setupwizard_dataenable_status.equals("0"))
- break MISSING_BLOCK_LABEL_601;
- j = android.provider.Settings.Global.getInt(mContext.getContentResolver(), "mobile_data");
- if(!s.equals(String.valueOf(j)))
- break label0;
- Log.d("SettingsProviderInitializer", "data enabled not change");
- }
- goto _L12
- ConnectivityManager connectivitymanager;
- try
- {
- connectivitymanager = (ConnectivityManager)mContext.getSystemService("connectivity");
- }
- catch(Exception exception)
- {
- return;
- }
- if(j != 1) goto _L14; else goto _L13
- _L13:
- if(!s.equals("0")) goto _L14; else goto _L15
- _L15:
- connectivitymanager.setMobileDataEnabled(false);
- Log.d("SettingsProviderInitializer", "data enabled change : setMobileDataEnabled(false)");
- goto _L12
- _L14:
- if(j != 0) goto _L12; else goto _L16
- _L16:
- if(!s.equals("1")) goto _L12; else goto _L17
- _L17:
- connectivitymanager.setMobileDataEnabled(true);
- Log.d("SettingsProviderInitializer", "data enabled change :setMobileDataEnabled(true)");
- goto _L12
- SystemProperties.set("sys.SetupDataEnable.status", "0");
- Log.d("SettingsProviderInitializer", "reboot and SIM Changed / set sys.SetupDataEnable.status 0");
- goto _L12
- _L4:
- android.provider.Settings.Global.putString(mContext.getContentResolver(), "data_roaming", sharedpreferences.getString("data_roaming", "1"));
- goto _L18
- _L10:
- Log.d("SettingsProviderInitializer", "set LOCATION_PROVIDERS_ALLOWED(LOCATION_MODE) : gps");
- i = 1;
- goto _L19
- _L20:
- if(!s1.equals("0"))
- break MISSING_BLOCK_LABEL_690;
- Log.d("SettingsProviderInitializer", "set LOCATION_PROVIDERS_ALLOWED(LOCATION_MODE) : network");
- i = 2;
- break; /* Loop/switch isn't completed */
- Log.d("SettingsProviderInitializer", "set LOCATION_PROVIDERS_ALLOWED(LOCATION_MODE) : gps,network");
- i = 3;
- break; /* Loop/switch isn't completed */
- _L11:
- return;
- _L8:
- if(i != 2 && i != 3) goto _L19; else goto _L20
- }
- private void loadDefaultSystemSettings(SharedPreferences sharedpreferences)
- {
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [SCREEN_OFF_TIMEOUT] : ").append(sharedpreferences.getString("screen_off_timeout", "null")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [AUTO_TIME] : ").append(sharedpreferences.getString("auto_time", "null")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [TIME_12_24] : ").append(sharedpreferences.getString("time_12_24", "null")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [DATE_FORMAT] : ").append(sharedpreferences.getString("date_format", "null")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [DTMF_TONE] : ").append(sharedpreferences.getString("dtmf_tone_when_dialing", "")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [GPS_SUPL_HOST] : ").append(sharedpreferences.getString("gps_supl_host", "")).toString());
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("get [GPS_SUPL_PORT] : ").append(sharedpreferences.getString("gps_supl_port", "")).toString());
- String s1;
- String s2;
- LocationManager locationmanager;
- android.provider.Settings.System.putString(mContext.getContentResolver(), "screen_off_timeout", (new StringBuilder()).append(sharedpreferences.getString("screen_off_timeout", "15")).append("000").toString());
- android.provider.Settings.Global.putString(mContext.getContentResolver(), "auto_time", sharedpreferences.getString("auto_time", "0"));
- android.provider.Settings.System.putString(mContext.getContentResolver(), "time_12_24", sharedpreferences.getString("time_12_24", "24"));
- android.provider.Settings.System.putString(mContext.getContentResolver(), "date_format", sharedpreferences.getString("date_format", "yyyy-MM-dd"));
- String s = sharedpreferences.getString("dtmf_tone_when_dialing", "");
- if(!s.isEmpty())
- android.provider.Settings.System.putString(mContext.getContentResolver(), "dtmf_tone", s);
- s1 = sharedpreferences.getString("gps_supl_host", "");
- s2 = sharedpreferences.getString("gps_supl_port", "");
- if(SystemProperties.get("ro.product.device").equals("x3") && SystemProperties.get("ro.product.device").equals("f70") || s1.isEmpty() || s2.isEmpty())
- break MISSING_BLOCK_LABEL_755;
- locationmanager = (LocationManager)mContext.getSystemService("location");
- Class.forName(locationmanager.getClass().getName()).getDeclaredField("mService").setAccessible(true);
- if(locationmanager.isProviderEnabled("gps"))
- {
- Bundle bundle = new Bundle();
- bundle.putString("supl_address", s1);
- locationmanager.sendExtraCommand("gps", "lge.gps.extracmd.fmw.setsupladdress", bundle);
- android.provider.Settings.System.putString(mContext.getContentResolver(), "gps_supl_host", s1);
- bundle.putInt("supl_port", Integer.parseInt(s2));
- locationmanager.sendExtraCommand("gps", "lge.gps.extracmd.fmw.setsuplport", bundle);
- android.provider.Settings.System.putString(mContext.getContentResolver(), "gps_supl_port", s2);
- return;
- }
- try
- {
- Log.d("SettingsProviderInitializer", "LocationManager disabled...activate LocationProvider");
- android.provider.Settings.Secure.setLocationProviderEnabled(mContext.getContentResolver(), "gps", true);
- Bundle bundle1 = new Bundle();
- bundle1.putString("supl_address", s1);
- locationmanager.sendExtraCommand("gps", "lge.gps.extracmd.fmw.setsupladdress", bundle1);
- android.provider.Settings.System.putString(mContext.getContentResolver(), "gps_supl_host", s1);
- bundle1.putInt("supl_port", Integer.parseInt(s2));
- locationmanager.sendExtraCommand("gps", "lge.gps.extracmd.fmw.setsuplport", bundle1);
- android.provider.Settings.System.putString(mContext.getContentResolver(), "gps_supl_port", s2);
- android.provider.Settings.Secure.setLocationProviderEnabled(mContext.getContentResolver(), "gps", false);
- return;
- }
- catch(Exception exception) { }
- }
- private void setKeyToneValueforVDF()
- {
- Log.d("SettingsProviderInitializer", "[setKeyToneValueforVDF]");
- if(!"OPEN".equals(SystemProperties.get("ro.build.target_operator")) && !"VDF".equals(SystemProperties.get("ro.build.target_operator")) && !"MBK".equals(SystemProperties.get("ro.build.target_operator"))) goto _L2; else goto _L1
- _L1:
- String s;
- TelephonyManager telephonymanager = (TelephonyManager)mContext.getSystemService("phone");
- if(telephonymanager == null)
- break MISSING_BLOCK_LABEL_440;
- s = telephonymanager.getSimOperator();
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("op_numeric = ").append(s).toString());
- if(!"21670".equals(s) && !"27402".equals(s) && !"27403".equals(s) && !"23403".equals(s) && !"53001".equals(s) && !"20404".equals(s) && !"23003".equals(s) && !"23099".equals(s) && !"27201".equals(s) && !"20810".equals(s) && !"20811".equals(s) && !"20813".equals(s) && !"64710".equals(s) && !"26202".equals(s) && !"26204".equals(s) && !"22801".equals(s) && !"23801".equals(s) && !"22853".equals(s) && !"20408".equals(s) && !"23201".equals(s) && !"23202".equals(s) && !"23209".equals(s) && !"23212".equals(s) && !"23215".equals(s)) goto _L4; else goto _L3
- _L3:
- android.provider.Settings.System.putInt(mContext.getContentResolver(), "dtmf_tone", 0);
- android.provider.Settings.System.putInt(mContext.getContentResolver(), "sound_effects_enabled", 0);
- _L2:
- return;
- _L4:
- if(!"45000".equals(s)) goto _L2; else goto _L5
- _L5:
- android.provider.Settings.System.putInt(mContext.getContentResolver(), "dtmf_tone", 1);
- android.provider.Settings.System.putInt(mContext.getContentResolver(), "sound_effects_enabled", 0);
- return;
- Log.e("SettingsProviderInitializer", "tm is null");
- return;
- }
- private static String toTitleCase(String s)
- {
- if(s.length() == 0)
- return s;
- else
- return (new StringBuilder()).append(Character.toUpperCase(s.charAt(0))).append(s.substring(1)).toString();
- }
- protected void initSettingsProvider(Context context)
- {
- mContext = context;
- mccmnc = ((TelephonyManager)context.getSystemService("phone")).getSimOperator();
- if(mccmnc != null && mccmnc.length() >= 5) goto _L2; else goto _L1
- _L1:
- Log.d("SettingsProviderInitializer", "[NOVA Dual IMSI] Error : mccmnc value is invalid!!");
- _L4:
- return;
- _L2:
- String s;
- Prev_SIM_MCC = getSimPrev_SIM_MCC(context);
- Present_MCC = mccmnc.substring(0, 3);
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("[NOVA Dual IMSI] Prev_SIM_MCC : ").append(Prev_SIM_MCC).append(", Present_MCC : ").append(Present_MCC).toString());
- SharedPreferences sharedpreferences = mContext.getSharedPreferences(SETTINGSPROVIDER_CONFIG_PREFERENCE, 0);
- setupwizard_dataenable_status = SystemProperties.get("sys.SetupDataEnable.status", "0");
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("SetupWizard DataEnable Status 1 : ").append(setupwizard_dataenable_status).toString());
- if(SettingsProviderParser.initSettingsProvider(context))
- {
- TelephonyManager telephonymanager;
- String s1;
- String s2;
- if(sharedpreferences != null)
- {
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("isSIMChanged1 : ").append(SystemProperties.get("persist.radio.iccid-changed")).toString());
- loadDefaultSystemSettings(sharedpreferences);
- loadDefaultSecureSettings(sharedpreferences);
- loadDefaultPropertySettings(sharedpreferences);
- dataEnabledPopupStart(mContext);
- Log.d("SettingsProviderInitializer", "dataEnabledPopupStart 1");
- } else
- {
- Log.e("SettingsProviderInitializer", "Auto-profile : Operator profile does not exist!!");
- }
- setKeyToneValueforVDF();
- } else
- if(SettingsProviderParser.isNeedChangeProfile(sharedpreferences))
- {
- if(setupwizard_dataenable_status.equals("0"))
- {
- Log.d("SettingsProviderInitializer", (new StringBuilder()).append("isSIMChanged2 : ").append(SystemProperties.get("persist.radio.iccid-changed")).toString());
- dataEnabledPopupStart(mContext);
- Log.d("SettingsProviderInitializer", "dataEnabledPopupStart 2");
- }
- setKeyToneValueforVDF();
- } else
- {
- Log.e("SettingsProviderInitializer", "Auto-profile : Set default values");
- }
- if(!SettingsProviderParser.isNeedChangeProfile(sharedpreferences) && !"1".equals(SystemProperties.get("persist.radio.iccid-changed")) && !"2".equals(SystemProperties.get("persist.radio.iccid-changed"))) goto _L4; else goto _L3
- _L3:
- telephonymanager = (TelephonyManager)context.getSystemService("phone");
- if(telephonymanager == null) goto _L4; else goto _L5
- _L5:
- s = telephonymanager.getSimOperator();
- s1 = SystemProperties.get("ro.build.target_country");
- s2 = SystemProperties.get("ro.build.target_operator");
- if(telephonymanager.getSimState() != 5 || (!"P4P".equals(s2) || !"PL".equals(s1)) && (!"EU".equals(s1) || !"OPEN".equals(s2)) && (!"H3G".equals(s2) || !"COM".equals(s1)) && (!"VDF".equals(s2) || !"COM".equals(s1))) goto _L7; else goto _L6
- _L6:
- Log.e("SettingsProviderInitializer", "H3G data roaming - init");
- if(!"23205".equals(s) && !"23210".equals(s)) goto _L9; else goto _L8
- _L8:
- android.provider.Settings.Secure.putInt(mContext.getContentResolver(), "roaming_mode_domestic_data", 0);
- android.provider.Settings.Secure.putInt(mContext.getContentResolver(), "roaming_mode_international_data", 1);
- android.provider.Settings.Global.putInt(mContext.getContentResolver(), "data_roaming", 1);
- _L7:
- setKeyToneValueforVDF();
- return;
- _L9:
- if("24002".equals(s) || "26006".equals(s) || "26004".equals(s))
- {
- android.provider.Settings.Secure.putInt(mContext.getContentResolver(), "roaming_mode_domestic_data", 1);
- android.provider.Settings.Secure.putInt(mContext.getContentResolver(), "roaming_mode_international_data", 0);
- android.provider.Settings.Global.putInt(mContext.getContentResolver(), "data_roaming", 0);
- } else
- if("22299".equals(s) || "23420".equals(s) || "23594".equals(s) || "45403".equals(s) || "45404".equals(s) || "27205".equals(s) || "23806".equals(s) || "21902".equals(s))
- {
- android.provider.Settings.Secure.putInt(mContext.getContentResolver(), "roaming_mode_domestic_data", 0);
- android.provider.Settings.Secure.putInt(mContext.getContentResolver(), "roaming_mode_international_data", 0);
- android.provider.Settings.Global.putInt(mContext.getContentResolver(), "data_roaming", 0);
- }
- if(true) goto _L7; else goto _L10
- _L10:
- }
- private static String SETTINGSPROVIDER_CONFIG_PREFERENCE = "SettingsProviderSharedPreference";
- private String Present_MCC;
- private String Prev_SIM_MCC;
- private boolean isSkipDefaultLanguage;
- private Context mContext;
- private String mccmnc;
- private String setupwizard_dataenable_status;
- }
Advertisement
Add Comment
Please, Sign In to add comment