Loading src/java/com/android/internal/telephony/uicc/SIMRecords.java +5 −3 Original line number Original line Diff line number Diff line Loading @@ -1138,9 +1138,11 @@ public class SIMRecords extends IccRecords { onCphsCompleted)); onCphsCompleted)); } else { } else { if (ar.userObj != null) { if (ar.userObj != null) { Resources resource = Resources.getSystem(); CarrierConfigManager configLoader = (CarrierConfigManager) if (ar.exception != null && resource.getBoolean(com.android.internal. mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE); R.bool.editable_voicemailnumber)) { if (ar.exception != null && configLoader != null && configLoader.getConfig().getBoolean( CarrierConfigManager.KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL)) { // GsmCdmaPhone will store vm number on device // GsmCdmaPhone will store vm number on device // when IccVmNotSupportedException occurred // when IccVmNotSupportedException occurred AsyncResult.forMessage(((Message) ar.userObj)).exception AsyncResult.forMessage(((Message) ar.userObj)).exception Loading Loading
src/java/com/android/internal/telephony/uicc/SIMRecords.java +5 −3 Original line number Original line Diff line number Diff line Loading @@ -1138,9 +1138,11 @@ public class SIMRecords extends IccRecords { onCphsCompleted)); onCphsCompleted)); } else { } else { if (ar.userObj != null) { if (ar.userObj != null) { Resources resource = Resources.getSystem(); CarrierConfigManager configLoader = (CarrierConfigManager) if (ar.exception != null && resource.getBoolean(com.android.internal. mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE); R.bool.editable_voicemailnumber)) { if (ar.exception != null && configLoader != null && configLoader.getConfig().getBoolean( CarrierConfigManager.KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL)) { // GsmCdmaPhone will store vm number on device // GsmCdmaPhone will store vm number on device // when IccVmNotSupportedException occurred // when IccVmNotSupportedException occurred AsyncResult.forMessage(((Message) ar.userObj)).exception AsyncResult.forMessage(((Message) ar.userObj)).exception Loading