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:
parent
c10e45a55c
commit
c92c4b6a3a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user