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
This commit is contained in:
emancebo 2015-07-21 10:07:43 -07:00 committed by Gerrit Code Review
parent c10e45a55c
commit c92c4b6a3a

View File

@ -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