Loading src/java/com/android/internal/telephony/uicc/SIMRecords.java +13 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.telephony.PhoneNumberUtils; import android.telephony.SmsMessage; import android.text.TextUtils; import android.telephony.Rlog; import android.content.res.Resources; import com.android.internal.telephony.CommandsInterface; import com.android.internal.telephony.MccTable; Loading Loading @@ -1055,6 +1056,7 @@ public class SIMRecords extends IccRecords { isRecordLoadResponse = false; ar = (AsyncResult)msg.obj; if (DBG) log("EVENT_SET_MBDN_DONE ex:" + ar.exception); if (ar.exception == null) { mVoiceMailNum = mNewVoiceMailNum; mVoiceMailTag = mNewVoiceMailTag; Loading Loading @@ -1087,8 +1089,18 @@ public class SIMRecords extends IccRecords { onCphsCompleted)); } else { if (ar.userObj != null) { Resources resource = Resources.getSystem(); if (ar.exception != null && resource.getBoolean(com.android.internal. R.bool.editable_voicemailnumber)) { // GSMPhone will store vm number on device // when IccVmNotSupportedException occurred AsyncResult.forMessage(((Message) ar.userObj)).exception = new IccVmNotSupportedException( "Update SIM voice mailbox error"); } else { AsyncResult.forMessage(((Message) ar.userObj)).exception = ar.exception; } ((Message) ar.userObj).sendToTarget(); } } Loading Loading
src/java/com/android/internal/telephony/uicc/SIMRecords.java +13 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.telephony.PhoneNumberUtils; import android.telephony.SmsMessage; import android.text.TextUtils; import android.telephony.Rlog; import android.content.res.Resources; import com.android.internal.telephony.CommandsInterface; import com.android.internal.telephony.MccTable; Loading Loading @@ -1055,6 +1056,7 @@ public class SIMRecords extends IccRecords { isRecordLoadResponse = false; ar = (AsyncResult)msg.obj; if (DBG) log("EVENT_SET_MBDN_DONE ex:" + ar.exception); if (ar.exception == null) { mVoiceMailNum = mNewVoiceMailNum; mVoiceMailTag = mNewVoiceMailTag; Loading Loading @@ -1087,8 +1089,18 @@ public class SIMRecords extends IccRecords { onCphsCompleted)); } else { if (ar.userObj != null) { Resources resource = Resources.getSystem(); if (ar.exception != null && resource.getBoolean(com.android.internal. R.bool.editable_voicemailnumber)) { // GSMPhone will store vm number on device // when IccVmNotSupportedException occurred AsyncResult.forMessage(((Message) ar.userObj)).exception = new IccVmNotSupportedException( "Update SIM voice mailbox error"); } else { AsyncResult.forMessage(((Message) ar.userObj)).exception = ar.exception; } ((Message) ar.userObj).sendToTarget(); } } Loading