Don't check provisioning when trying setup data call.

1. SIM is not provisioned before activation.

Change-Id: I04b16d77aaf28bfb8e0c2d7edd937bd44677de73
Signed-off-by: Sangcheol Lee <goodsc.lee@samsung.com>
This commit is contained in:
Sangcheol Lee
2011-08-05 19:11:37 +09:00
committed by Wink Saville
parent f6d08b9528
commit 1d1435a1ed

View File

@@ -576,7 +576,6 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
boolean allowed =
(gprsState == ServiceState.STATE_IN_SERVICE || mAutoAttachOnCreation) &&
mPhone.mIccRecords.getRecordsLoaded() &&
mPhone.mIccRecords.isProvisioned() &&
mPhone.getState() == Phone.State.IDLE &&
mInternalDataEnabled &&
(!mPhone.getServiceState().getRoaming() || getDataOnRoamingEnabled()) &&
@@ -588,7 +587,6 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
reason += " - gprs= " + gprsState;
}
if (!mPhone.mIccRecords.getRecordsLoaded()) reason += " - SIM not loaded";
if (!mPhone.mIccRecords.isProvisioned()) reason += " - SIM not provisioned";
if (mPhone.getState() != Phone.State.IDLE) {
reason += " - PhoneState= " + mPhone.getState();
}