summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup
diff options
context:
space:
mode:
authoremancebo <emancebo@cyngn.com>2015-07-21 10:07:43 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-07-21 10:12:44 -0700
commitc92c4b6a3a4562e9c75ba8a8de9d050b8f0e43f3 (patch)
tree11b0ff68804506142996415d2543d636d9125935 /src/com/cyanogenmod/setupwizard/setup
parentc10e45a55c73a8e00fd21c797cbb1dbd36b10f9d (diff)
downloadpackages_apps_SetupWizard-c92c4b6a3a4562e9c75ba8a8de9d050b8f0e43f3.zip
packages_apps_SetupWizard-c92c4b6a3a4562e9c75ba8a8de9d050b8f0e43f3.tar.gz
packages_apps_SetupWizard-c92c4b6a3a4562e9c75ba8a8de9d050b8f0e43f3.tar.bz2
SetupWizard: check if mobile data is enabled from telephony API
System property ro.com.android.mobiledata is no longer used issue-id: JALEBI-135 Change-Id: Iac088d50dc50227e805b58b537c38082b6797291
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
index e4bb6a5..1acfa3b 100644
--- a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
+++ b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
@@ -36,11 +36,11 @@ public class CMSetupWizardData extends AbstractSetupData {
private boolean mTimeSet = false;
private boolean mTimeZoneSet = false;
- private boolean mMobileDataEnabled = SystemProperties
- .getBoolean("ro.com.android.mobiledata", true);
+ private boolean mMobileDataEnabled;
public CMSetupWizardData(Context context) {
super(context);
+ mMobileDataEnabled = SetupWizardUtils.isMobileDataEnabled(context);
}
@Override