Add some additional debug for set operator numeric.

Change-Id: I7e22a33f893984c1ad5bd9dd79428ad72d2b4d7c
This commit is contained in:
Wink Saville
2012-04-03 10:22:09 -07:00
parent 63c115c4aa
commit 431a4a3b97
3 changed files with 7 additions and 4 deletions

View File

@@ -205,6 +205,8 @@ public class CDMAPhone extends PhoneBase {
// Sets operator numeric property by retrieving from build-time system property
String operatorNumeric = SystemProperties.get(PROPERTY_CDMA_HOME_OPERATOR_NUMERIC);
log("CDMAPhone: init set 'gsm.sim.operator.numeric' to operator='" +
operatorNumeric + "'");
setSystemProperty(PROPERTY_ICC_OPERATOR_NUMERIC, operatorNumeric);
// Sets iso country property by retrieving from build-time system property

View File

@@ -329,11 +329,11 @@ public final class RuimRecords extends IccRecords {
@Override
protected void onAllRecordsLoaded() {
log("RuimRecords: record load complete");
// Further records that can be inserted are Operator/OEM dependent
String operator = getRUIMOperatorNumeric();
log("RuimRecords: onAllRecordsLoaded set 'gsm.sim.operator.numeric' to operator='" +
operator + "'");
SystemProperties.set(PROPERTY_ICC_OPERATOR_NUMERIC, operator);
if (mImsi != null) {

View File

@@ -228,6 +228,7 @@ public class SIMRecords extends IccRecords {
adnCache.reset();
log("SIMRecords: onRadioOffOrNotAvailable set 'gsm.sim.operator.numeric' to operator=null");
SystemProperties.set(PROPERTY_ICC_OPERATOR_NUMERIC, null);
SystemProperties.set(PROPERTY_ICC_OPERATOR_ALPHA, null);
SystemProperties.set(PROPERTY_ICC_OPERATOR_ISO_COUNTRY, null);
@@ -1254,12 +1255,12 @@ public class SIMRecords extends IccRecords {
}
protected void onAllRecordsLoaded() {
log("record load complete");
String operator = getOperatorNumeric();
// Some fields require more than one SIM record to set
log("SIMRecords: onAllRecordsLoaded set 'gsm.sim.operator.numeric' to operator='" +
operator + "'");
SystemProperties.set(PROPERTY_ICC_OPERATOR_NUMERIC, operator);
if (imsi != null) {