Skip to content

Commit 431a4a3

Browse files
author
Wink Saville
committed
Add some additional debug for set operator numeric.
Change-Id: I7e22a33f893984c1ad5bd9dd79428ad72d2b4d7c
1 parent 63c115c commit 431a4a3

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ protected void init(Context context, PhoneNotifier notifier) {
205205

206206
// Sets operator numeric property by retrieving from build-time system property
207207
String operatorNumeric = SystemProperties.get(PROPERTY_CDMA_HOME_OPERATOR_NUMERIC);
208+
log("CDMAPhone: init set 'gsm.sim.operator.numeric' to operator='" +
209+
operatorNumeric + "'");
208210
setSystemProperty(PROPERTY_ICC_OPERATOR_NUMERIC, operatorNumeric);
209211

210212
// Sets iso country property by retrieving from build-time system property

telephony/java/com/android/internal/telephony/cdma/RuimRecords.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,11 @@ protected void onRecordLoaded() {
329329

330330
@Override
331331
protected void onAllRecordsLoaded() {
332-
log("RuimRecords: record load complete");
333-
334332
// Further records that can be inserted are Operator/OEM dependent
335333

336334
String operator = getRUIMOperatorNumeric();
335+
log("RuimRecords: onAllRecordsLoaded set 'gsm.sim.operator.numeric' to operator='" +
336+
operator + "'");
337337
SystemProperties.set(PROPERTY_ICC_OPERATOR_NUMERIC, operator);
338338

339339
if (mImsi != null) {

telephony/java/com/android/internal/telephony/gsm/SIMRecords.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ protected void onRadioOffOrNotAvailable() {
228228

229229
adnCache.reset();
230230

231+
log("SIMRecords: onRadioOffOrNotAvailable set 'gsm.sim.operator.numeric' to operator=null");
231232
SystemProperties.set(PROPERTY_ICC_OPERATOR_NUMERIC, null);
232233
SystemProperties.set(PROPERTY_ICC_OPERATOR_ALPHA, null);
233234
SystemProperties.set(PROPERTY_ICC_OPERATOR_ISO_COUNTRY, null);
@@ -1254,12 +1255,12 @@ protected void onRecordLoaded() {
12541255
}
12551256

12561257
protected void onAllRecordsLoaded() {
1257-
log("record load complete");
1258-
12591258
String operator = getOperatorNumeric();
12601259

12611260
// Some fields require more than one SIM record to set
12621261

1262+
log("SIMRecords: onAllRecordsLoaded set 'gsm.sim.operator.numeric' to operator='" +
1263+
operator + "'");
12631264
SystemProperties.set(PROPERTY_ICC_OPERATOR_NUMERIC, operator);
12641265

12651266
if (imsi != null) {

0 commit comments

Comments
 (0)